From 578a942fc7067b64f991a0c79e261d1c09c8f2b9 Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Fri, 30 Aug 2019 11:38:12 -0700 Subject: [PATCH] Roll fuchsia/clang/linux-amd64 from wGyr4... to -mnHl... (flutter/engine#11790) * Roll fuchsia/clang/linux-amd64 from wGyr4... to -mnHl... If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/fuchsia-linux-toolchain-flutter-engine Please CC on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md * Fix dangling pointer --- DEPS | 2 +- engine/src/flutter/shell/common/engine.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index d9ae9e9896..7fdefd35cc 100644 --- a/DEPS +++ b/DEPS @@ -569,7 +569,7 @@ deps = { 'packages': [ { 'package': 'fuchsia/clang/linux-amd64', - 'version': 'wGyr4zXfvQ_jKBpPnE7vMbtaaHmuVtv04AKwiOrOezUC' + 'version': '-mnHlaPaPgvt5sKjF7jhV88hKIn7NDHU6Bh4YZX7u_8C' } ], 'condition': 'host_os == "linux"', diff --git a/engine/src/flutter/shell/common/engine.cc b/engine/src/flutter/shell/common/engine.cc index 24fe77a1df..23a0b1e0d6 100644 --- a/engine/src/flutter/shell/common/engine.cc +++ b/engine/src/flutter/shell/common/engine.cc @@ -218,8 +218,9 @@ void Engine::ReportTimings(std::vector timings) { } void Engine::NotifyIdle(int64_t deadline) { + auto trace_event = std::to_string(deadline - Dart_TimelineGetMicros()); TRACE_EVENT1("flutter", "Engine::NotifyIdle", "deadline_now_delta", - std::to_string(deadline - Dart_TimelineGetMicros()).c_str()); + trace_event.c_str()); runtime_controller_->NotifyIdle(deadline); }