mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert "Capture Skia trace events" (#2831)
This commit is contained in:
parent
eae38aef3a
commit
4f78a67dd4
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user