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

Unified Diff: Source/modules/indexeddb/IDBFactory.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
Index: Source/modules/indexeddb/IDBFactory.cpp
diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
index 3f8fc3f8a136d9f484fe4e1ac68b74d8abefb8fe..5d8e96f55deedb17e1e847d32ff7d9af441e7a1b 100644
--- a/Source/modules/indexeddb/IDBFactory.cpp
+++ b/Source/modules/indexeddb/IDBFactory.cpp
@@ -36,7 +36,7 @@
#include "core/page/Page.h"
#include "core/page/PageGroup.h"
#include "core/platform/HistogramSupport.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
#include "core/workers/WorkerLoaderProxy.h"
#include "core/workers/WorkerThread.h"
#include "modules/indexeddb/IDBDatabase.h"
@@ -67,7 +67,7 @@ IDBFactory::~IDBFactory()
static bool isContextValid(ScriptExecutionContext* context)
{
- ASSERT(context->isDocument() || context->isWorkerContext());
+ ASSERT(context->isDocument() || context->isWorkerGlobalScope());
if (context->isDocument()) {
Document* document = toDocument(context);
return document->frame() && document->page();
« no previous file with comments | « Source/modules/filesystem/WorkerGlobalScopeFileSystem.idl ('k') | Source/modules/indexeddb/WorkerContextIndexedDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698