From 201900fd6354a0f1a9318e31f101e05aeea612bd Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 14 Aug 2018 22:22:28 -0700 Subject: [PATCH] Revert "Log Tonic errors with FML_LOG" (flutter/engine#6021) Reverts flutter/engine#6015 This is causing the Windows bots to fail. --- DEPS | 2 +- engine/src/flutter/shell/common/shell.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/DEPS b/DEPS index e8453f6257..62e54cdf26 100644 --- a/DEPS +++ b/DEPS @@ -123,7 +123,7 @@ deps = { # and not have to specific specific hashes. 'src/third_party/tonic': - Var('fuchsia_git') + '/tonic' + '@' + '2de0ba78507e764f908b195885f53592048b7c45', + Var('fuchsia_git') + '/tonic' + '@' + '57d508b12462db686573edcbc97891d90cf92f90', 'src/third_party/benchmark': Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22', diff --git a/engine/src/flutter/shell/common/shell.cc b/engine/src/flutter/shell/common/shell.cc index 5afe07691e..5017a2c607 100644 --- a/engine/src/flutter/shell/common/shell.cc +++ b/engine/src/flutter/shell/common/shell.cc @@ -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); }