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

Unified Diff: Source/modules/webdatabase/DatabaseContext.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/webdatabase/DatabaseContext.cpp
diff --git a/Source/modules/webdatabase/DatabaseContext.cpp b/Source/modules/webdatabase/DatabaseContext.cpp
index 27269775fd36ea4dd1b3c28b3f8d5b9368ae8893..89f9bca7818d520830cb9fccbb6d07ed40cb7f18 100644
--- a/Source/modules/webdatabase/DatabaseContext.cpp
+++ b/Source/modules/webdatabase/DatabaseContext.cpp
@@ -198,7 +198,7 @@ bool DatabaseContext::allowDatabaseAccess() const
Document* document = toDocument(m_scriptExecutionContext);
return document->page();
}
- ASSERT(m_scriptExecutionContext->isWorkerContext());
+ ASSERT(m_scriptExecutionContext->isWorkerGlobalScope());
// allowDatabaseAccess is not yet implemented for workers.
return true;
}
« no previous file with comments | « Source/modules/performance/WorkerPerformance.cpp ('k') | Source/modules/webdatabase/WorkerContextWebDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698