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