提交 4f78a67d 编写于 作者: I Ian Hickson 提交者: GitHub

Revert "Capture Skia trace events" (#2831)

上级 eae38aef
......@@ -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));
......
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册