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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp
index f28616b601a430cf09ef7fc3fbf075866fd452f2..b3e025b6e44d4149e4c5ecc3a459e91547404808 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp
@@ -101,6 +101,7 @@ DatabaseContext::DatabaseContext(ExecutionContext* context)
, m_hasOpenDatabases(false)
, m_hasRequestedTermination(false)
{
+ ASSERT(isMainThread());
// ActiveDOMObject expects this to be called to set internal flags.
suspendIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698