Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp |
| index e4e8c62aa28ab175678fbdf3d3d01493ff47ba47..19ade41a1a578b7f48237d994f4712a66884ee44 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp |
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp |
| @@ -524,6 +524,7 @@ v8::MaybeLocal<v8::Value> V8ScriptRunner::runCompiledScript( |
| script->GetUnboundScript()->GetId()); |
| result = script->Run(isolate->GetCurrentContext()); |
| ThreadDebugger::didExecuteScript(isolate); |
| + PerformanceMonitor::didExecuteScript(context); |
|
panicker
2016/11/04 20:59:28
could you move this to separate CL and submit soon
pfeldman
2016/11/04 21:26:38
How come are they broken?
|
| } |
| crashIfIsolateIsDead(isolate); |
| @@ -637,6 +638,7 @@ v8::MaybeLocal<v8::Value> V8ScriptRunner::callFunction( |
| function->Call(isolate->GetCurrentContext(), receiver, argc, args); |
| crashIfIsolateIsDead(isolate); |
| ThreadDebugger::didExecuteScript(isolate); |
| + PerformanceMonitor::didExecuteScript(context); |
| if (!depth) |
| TRACE_EVENT_END0("devtools.timeline", "FunctionCall"); |
| return result; |