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

Unified Diff: Source/WebCore/storage/Database.cpp

Issue 7563014: Merge 92155 - [Chromium] WebSQLDatabase version handling is broken in multi-process browsers. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 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/WebCore/storage/ChangeVersionWrapper.cpp ('k') | Source/WebCore/storage/DatabaseSync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/storage/Database.cpp
===================================================================
--- Source/WebCore/storage/Database.cpp (revision 92303)
+++ Source/WebCore/storage/Database.cpp (working copy)
@@ -109,12 +109,7 @@
InspectorInstrumentation::didOpenDatabase(context, database, context->securityOrigin()->host(), name, expectedVersion);
- // If it's a new database and a creation callback was provided, reset the expected
- // version to "" and schedule the creation callback. Because of some subtle String
- // implementation issues, we have to reset m_expectedVersion here instead of doing
- // it inside performOpenAndVerify() which is run on the DB thread.
if (database->isNew() && creationCallback.get()) {
- database->m_expectedVersion = "";
LOG(StorageAPI, "Scheduling DatabaseCreationCallbackTask for database %p\n", database.get());
database->m_scriptExecutionContext->postTask(DatabaseCreationCallbackTask::create(database, creationCallback));
}
« no previous file with comments | « Source/WebCore/storage/ChangeVersionWrapper.cpp ('k') | Source/WebCore/storage/DatabaseSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698