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

Unified Diff: Source/web/WebDatabase.cpp

Issue 567453002: Web SQL: Make sure DatabaseManager is used only in the main thread. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/modules/webdatabase/DatabaseServer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDatabase.cpp
diff --git a/Source/web/WebDatabase.cpp b/Source/web/WebDatabase.cpp
index 87e3e3034ed64c8746e72250f3be02c9fae607e6..8e76c85b8ecd9f88dbb1dd16a7364a512cbea3fc 100644
--- a/Source/web/WebDatabase.cpp
+++ b/Source/web/WebDatabase.cpp
@@ -32,7 +32,7 @@
#include "public/web/WebDatabase.h"
#include "modules/webdatabase/DatabaseBackendBase.h"
-#include "modules/webdatabase/DatabaseManager.h"
+#include "modules/webdatabase/DatabaseTracker.h"
#include "modules/webdatabase/QuotaTracker.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "public/platform/WebString.h"
@@ -87,7 +87,7 @@ void WebDatabase::resetSpaceAvailable(const WebString& originIdentifier)
void WebDatabase::closeDatabaseImmediately(const WebString& originIdentifier, const WebString& databaseName)
{
- DatabaseManager::manager().closeDatabasesImmediately(originIdentifier, databaseName);
+ DatabaseTracker::tracker().closeDatabasesImmediately(originIdentifier, databaseName);
}
WebDatabase::WebDatabase(const DatabaseBackendBase* database)
« no previous file with comments | « Source/modules/webdatabase/DatabaseServer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698