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

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

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
index e217b8a5820fde569b8679d974349a6f9e963708..3d0b06c87ef89a4bee1bb99e5653f36adf44c364 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
@@ -39,7 +39,7 @@
#include "core/dom/ExecutionContext.h"
#include "core/frame/LocalFrame.h"
#include "core/workers/WorkerGlobalScope.h"
-#include "core/workers/WorkerThread.h"
+#include "core/workers/WorkerScript.h"
#include "platform/Logging.h"
#include "platform/TraceEvent.h"
@@ -127,7 +127,7 @@ void ScheduledAction::execute(LocalFrame* frame)
void ScheduledAction::execute(WorkerGlobalScope* worker)
{
- ASSERT(worker->thread()->isCurrentThread());
+ ASSERT(worker->workerScript()->isCurrentThread());
ASSERT(m_scriptState->contextIsValid());
if (!m_function.isEmpty()) {
ScriptState::Scope scope(m_scriptState.get());

Powered by Google App Engine
This is Rietveld 408576698