From 5bdd5ec96c94078f3db3a1b0227f59ec5390e670 Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Wed, 18 Sep 2019 18:02:43 -0700 Subject: [PATCH] [flutter_runner] Explicitly set |trace_skia| to false (flutter/engine#12349) Explicitly set |Application|'s |flutter::Settings| |trace_skia| field to false (it currently defaults to false), in order to slightly simplify the enabling skia trace events workflow. PT-145 #comment-patch Change-Id: Ib40f9ed3dc6f824056465db2cd45309c78b7e3b4 --- .../src/flutter/shell/platform/fuchsia/flutter/component.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc index 6f39412457..0858929603 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/component.cc @@ -261,6 +261,10 @@ Application::Application( settings_.observatory_host = "127.0.0.1"; #endif + // Set this to true to enable category "skia" trace events. + // TODO(PT-145): Explore enabling this by default. + settings_.trace_skia = false; + settings_.icu_data_path = ""; settings_.assets_dir = application_assets_directory_.get();