| Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| index bde9a20309dac1cab1e1a95752658587a16b606e..38a93c36ebb3f7aad1c3fb6455b503db076248b2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "bindings/core/v8/ScriptStreamerThread.h"
|
|
|
| #include "bindings/core/v8/ScriptStreamer.h"
|
| +#include "core/inspector/InspectorTraceEvents.h"
|
| #include "platform/TraceEvent.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebTaskRunner.h"
|
| @@ -78,7 +79,7 @@ WebThread& ScriptStreamerThread::platformThread()
|
|
|
| void ScriptStreamerThread::runScriptStreamingTask(WTF::PassOwnPtr<v8::ScriptCompiler::ScriptStreamingTask> task, ScriptStreamer* streamer)
|
| {
|
| - TRACE_EVENT0("v8", "v8.parseOnBackground");
|
| + TRACE_EVENT1("v8,devtools.timeline", "v8.parseOnBackground", "data", InspectorParseScriptEvent::data(streamer->scriptURL()));
|
| // Running the task can and will block: SourceStream::GetSomeData will get
|
| // called and it will block and wait for data from the network.
|
| task->Run();
|
|
|