Index: Source/bindings/v8/V8Utilities.cpp |
diff --git a/Source/bindings/v8/V8Utilities.cpp b/Source/bindings/v8/V8Utilities.cpp |
index c2903db46c2cd31be9e90f633836612596830648..7d4e64becdf738f6e2ed32f9598ea4f023cbc46a 100644 |
--- a/Source/bindings/v8/V8Utilities.cpp |
+++ b/Source/bindings/v8/V8Utilities.cpp |
@@ -156,7 +156,7 @@ void transferHiddenDependency(v8::Handle<v8::Object> object, EventListener* oldV |
ExecutionContext* getExecutionContext() |
{ |
if (WorkerScriptController* controller = WorkerScriptController::controllerForContext()) |
- return controller->workerGlobalScope(); |
+ return &controller->workerGlobalScope(); |
return currentDocument(); |
} |