Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: Source/bindings/v8/ScriptController.cpp

Issue 212953003: TimelinePanel: provide scriptId in FunctionCall event. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor change Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/ScriptController.cpp
diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp
index 3ab83af5f9076c39f3dcafa792e4c49dc71fe0e1..1e2d3ed505476becb92f1d5c21db4940efa87fce 100644
--- a/Source/bindings/v8/ScriptController.cpp
+++ b/Source/bindings/v8/ScriptController.cpp
@@ -165,7 +165,7 @@ v8::Local<v8::Value> ScriptController::callFunction(ExecutionContext* context, v
int lineNumber;
if (!resourceInfo(getBoundFunction(function), resourceName, lineNumber))
return v8::Local<v8::Value>();
- cookie = InspectorInstrumentation::willCallFunction(context, resourceName, lineNumber);
+ cookie = InspectorInstrumentation::willCallFunction(context, function->ScriptId(), resourceName, lineNumber);
}
v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, context, receiver, argc, info, isolate);
« no previous file with comments | « LayoutTests/inspector/timeline/timeline-timer-expected.txt ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698