Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index e55e1229ed99297b3cabaaf8fd69758841b366b5..1fbfbedc3f0f7aaf9862cf5b6201679a81e09a0a 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -259,14 +259,11 @@ void IndexedDBDispatcherHost::OnIDBFactoryDeleteDatabase( |
IndexedDBContext::kIndexedDBDirectory); |
} |
- WebSecurityOrigin origin( |
- WebSecurityOrigin::createFromDatabaseIdentifier(params.origin)); |
- GURL url(origin.toString()); |
- |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT)); |
Context()->GetIDBFactory()->deleteDatabase( |
params.name, |
- new IndexedDBCallbacks<WebIDBDatabase>(this, params.response_id, url), |
+ new IndexedDBCallbacks<WebSerializedScriptValue>(this, |
+ params.response_id), |
WebSecurityOrigin::createFromDatabaseIdentifier(params.origin), NULL, |
webkit_glue::FilePathToWebString(indexed_db_path)); |
} |