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()); |