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

Unified Diff: Source/bindings/v8/V8WorkerGlobalScopeEventListener.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/V8WorkerGlobalScopeEventListener.cpp
diff --git a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp
index 01f2ecdccf4f28f67fce72be61ac7e69d359c9b4..e17a61ea110c81716dae841e650b6bf828e572e8 100644
--- a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp
+++ b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp
@@ -96,7 +96,7 @@ v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(Exec
resourceName = stringResourceName;
lineNumber = originalFunction->GetScriptLineNumber() + 1;
}
- cookie = InspectorInstrumentation::willCallFunction(context, resourceName, lineNumber);
+ cookie = InspectorInstrumentation::willCallFunction(context, originalFunction->ScriptId(), resourceName, lineNumber);
}
v8::Isolate* isolate = toIsolate(context);

Powered by Google App Engine
This is Rietveld 408576698