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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp

Issue 1535943005: Initial implementation of bindings and basic classes for worklets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove AbstractGlobalScope. Created 5 years 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: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
index db2d6b93ad743f7ccf995a3fcf83911515c41fe9..6d50ae88f60cc9feac2b3f928a75389e702ef104 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
@@ -26,6 +26,7 @@
#include "bindings/core/v8/V8Initializer.h"
#include "bindings/core/v8/DOMWrapperWorld.h"
+#include "bindings/core/v8/GlobalScopeScriptController.h"
#include "bindings/core/v8/RejectedPromises.h"
#include "bindings/core/v8/RetainedDOMInfo.h"
#include "bindings/core/v8/ScriptCallStackFactory.h"
@@ -41,7 +42,6 @@
#include "bindings/core/v8/V8Location.h"
#include "bindings/core/v8/V8PerContextData.h"
#include "bindings/core/v8/V8Window.h"
-#include "bindings/core/v8/WorkerScriptController.h"
#include "core/dom/Document.h"
#include "core/dom/ExceptionCode.h"
#include "core/fetch/AccessControlStatus.h"
@@ -287,7 +287,7 @@ static void promiseRejectHandlerInWorker(v8::PromiseRejectMessage data)
return;
ASSERT(executionContext->isWorkerGlobalScope());
- WorkerScriptController* scriptController = toWorkerGlobalScope(executionContext)->script();
+ GlobalScopeScriptController* scriptController = toWorkerGlobalScope(executionContext)->script();
kinuko 2015/12/24 04:45:51 Again, we're checking isWorkerGlobalScope() and ca
ASSERT(scriptController);
promiseRejectHandler(data, *scriptController->rejectedPromises(), String());

Powered by Google App Engine
This is Rietveld 408576698