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

Unified Diff: Source/bindings/v8/ScheduledAction.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/ScheduledAction.h ('k') | Source/bindings/v8/ScriptProfiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ScheduledAction.cpp
diff --git a/Source/bindings/v8/ScheduledAction.cpp b/Source/bindings/v8/ScheduledAction.cpp
index 9215da7ca2cb2f84210f6afed46190895127532b..f634854a577f709ecc6f4d8e15eb1087c9f347e5 100644
--- a/Source/bindings/v8/ScheduledAction.cpp
+++ b/Source/bindings/v8/ScheduledAction.cpp
@@ -40,7 +40,7 @@
#include "core/dom/ScriptExecutionContext.h"
#include "core/page/Frame.h"
#include "core/platform/chromium/TraceEvent.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
#include "core/workers/WorkerThread.h"
namespace WebCore {
@@ -79,8 +79,8 @@ void ScheduledAction::execute(ScriptExecutionContext* context)
return;
execute(frame);
} else {
- ASSERT(context->isWorkerContext());
- execute(static_cast<WorkerContext*>(context));
+ ASSERT(context->isWorkerGlobalScope());
+ execute(static_cast<WorkerGlobalScope*>(context));
}
}
@@ -105,7 +105,7 @@ void ScheduledAction::execute(Frame* frame)
// The frame might be invalid at this point because JavaScript could have released it.
}
-void ScheduledAction::execute(WorkerContext* worker)
+void ScheduledAction::execute(WorkerGlobalScope* worker)
{
ASSERT(worker->thread()->isCurrentThread());
v8::HandleScope handleScope(m_isolate);
« no previous file with comments | « Source/bindings/v8/ScheduledAction.h ('k') | Source/bindings/v8/ScriptProfiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698