Revert "Capture Skia trace events" (#2831)

This commit is contained in:
Ian Hickson 2016-07-27 08:51:02 -07:00 committed by GitHub
parent eae38aef3a
commit 4f78a67dd4
2 changed files with 1 additions and 7 deletions

View File

@ -18,7 +18,6 @@
#include "base/single_thread_task_runner.h"
#include "base/trace_event/trace_event.h"
#include "mojo/message_pump/message_pump_mojo.h"
#include "skia/ext/event_tracer_impl.h"
#include "sky/engine/core/script/dart_init.h"
#include "sky/engine/public/platform/sky_settings.h"
#include "sky/shell/diagnostic/diagnostic_server.h"
@ -150,11 +149,6 @@ void Shell::InitStandalone(std::string icu_data_path) {
void Shell::Init() {
base::DiscardableMemoryAllocator::SetInstance(&g_discardable.Get());
#ifndef FLUTTER_PRODUCT_MODE
InitSkiaEventTracer();
#endif
DCHECK(!g_shell);
g_shell = new Shell();
g_shell->ui_task_runner()->PostTask(FROM_HERE, base::Bind(&Engine::Init));

View File

@ -178,7 +178,7 @@ void TracingController::StartTracing() {
void TracingController::StartBaseTracing() {
namespace TE = base::trace_event;
auto config = TE::TraceConfig("*,disabled-by-default-skia", TE::RECORD_CONTINUOUSLY);
auto config = TE::TraceConfig("*", TE::RECORD_CONTINUOUSLY);
auto log = TE::TraceLog::GetInstance();