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

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: 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 5e5e1ddcba7942a981655100045a79d775e49424..257b09c8f0e302e544b9d4035661c99119ea3653 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);
pfeldman 2014/03/26 16:28:58 Do we need the resourceName though?
}
v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, context, receiver, argc, info, isolate);
« no previous file with comments | « no previous file | Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | Source/devtools/front_end/TimelineUIUtils.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698