Chromium Code Reviews| 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); |