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

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

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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
« no previous file with comments | « Source/bindings/v8/V8Initializer.cpp ('k') | Source/bindings/v8/V8WorkerContextEventListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8Utilities.cpp
diff --git a/Source/bindings/v8/V8Utilities.cpp b/Source/bindings/v8/V8Utilities.cpp
index 8c3c7a91b86bddf2c77de4b915a12fd9854d9f6b..0824efc4d0bef6a05a8444cf88be77cc51581b88 100644
--- a/Source/bindings/v8/V8Utilities.cpp
+++ b/Source/bindings/v8/V8Utilities.cpp
@@ -41,7 +41,7 @@
#include "core/dom/MessagePort.h"
#include "core/dom/ScriptExecutionContext.h"
#include "core/page/Frame.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
#include <v8.h>
#include "wtf/ArrayBuffer.h"
@@ -152,7 +152,7 @@ void transferHiddenDependency(v8::Handle<v8::Object> object, EventListener* oldV
ScriptExecutionContext* getScriptExecutionContext()
{
if (WorkerScriptController* controller = WorkerScriptController::controllerForContext())
- return controller->workerContext();
+ return controller->workerGlobalScope();
return currentDocument();
}
« no previous file with comments | « Source/bindings/v8/V8Initializer.cpp ('k') | Source/bindings/v8/V8WorkerContextEventListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698