Skip to content

Commit

Permalink
Revert "Capture Skia trace events" (flutter#2831)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie authored Jul 27, 2016
1 parent eae38ae commit 4f78a67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions sky/shell/shell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion sky/shell/tracing_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 4f78a67

Please sign in to comment.