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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.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: added comments. 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/core/workers/WorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index 2ec784ab0e94755650bee385b11d656bb0766a25..93de572626769175f1a1a6469a1b6a1329743d2b 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -71,7 +71,7 @@ public:
{
Microtask::performCheckpoint(m_workerThread->isolate());
if (WorkerGlobalScope* globalScope = m_workerThread->workerGlobalScope()) {
- if (WorkerScriptController* scriptController = globalScope->script())
+ if (IsolatedScriptController* scriptController = globalScope->script())
scriptController->rejectedPromises()->processQueue();
if (globalScope->isClosing()) {
m_workerThread->workerReportingProxy().workerGlobalScopeClosed();
@@ -300,7 +300,7 @@ void WorkerThread::initialize(PassOwnPtr<WorkerThreadStartupData> startupData)
// Notify proxy that a new WorkerGlobalScope has been created and started.
m_workerReportingProxy.workerGlobalScopeStarted(m_workerGlobalScope.get());
- WorkerScriptController* script = m_workerGlobalScope->script();
+ IsolatedScriptController* script = m_workerGlobalScope->script();
if (!script->isExecutionForbidden())
script->initializeContextIfNeeded();
}

Powered by Google App Engine
This is Rietveld 408576698