diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebDatabase.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebDatabase.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/WebKit/chromium/src/WebDatabase.cpp b/Source/WebKit/chromium/src/WebDatabase.cpp index 9545a07e0..9ea6ee9b5 100644 --- a/Source/WebKit/chromium/src/WebDatabase.cpp +++ b/Source/WebKit/chromium/src/WebDatabase.cpp @@ -122,10 +122,7 @@ void WebDatabase::resetSpaceAvailable(const WebString& originIdentifier) void WebDatabase::closeDatabaseImmediately(const WebString& originIdentifier, const WebString& databaseName) { #if ENABLE(SQL_DATABASE) - HashSet<RefPtr<AbstractDatabase> > databaseHandles; - DatabaseTracker::tracker().getOpenDatabases(originIdentifier, databaseName, &databaseHandles); - for (HashSet<RefPtr<AbstractDatabase> >::iterator it = databaseHandles.begin(); it != databaseHandles.end(); ++it) - it->get()->closeImmediately(); + DatabaseTracker::tracker().closeDatabasesImmediately(originIdentifier, databaseName); #endif } |