Revert "Log Tonic errors with FML_LOG" (flutter/engine#6021)

Reverts flutter/engine#6015

This is causing the Windows bots to fail.
This commit is contained in:
Chinmay Garde
2018-08-14 22:22:28 -07:00
committed by GitHub
parent 33485e47de
commit 201900fd63
2 changed files with 1 additions and 5 deletions

View File

@@ -28,7 +28,6 @@
#include "flutter/shell/common/vsync_waiter.h"
#include "third_party/dart/runtime/include/dart_tools_api.h"
#include "third_party/skia/include/core/SkGraphics.h"
#include "third_party/tonic/common/log.h"
#ifdef ERROR
#undef ERROR
@@ -177,9 +176,6 @@ static void PerformInitializationTasks(const blink::Settings& settings) {
fml::SetLogSettings(log_settings);
}
tonic::SetLogHandler(
[](const char* message) { FML_LOG(ERROR) << message; });
if (settings.trace_skia) {
InitSkiaEventTracer(settings.trace_skia);
}