Index: third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
index 737435363e2c49374c8f701e580bee84ac3ef43b..44eb97ed98e5de0397084e67cb962beb111cd5d4 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp |
@@ -38,12 +38,11 @@ |
#include "modules/indexeddb/IDBKey.h" |
#include "modules/indexeddb/IDBTracing.h" |
#include "modules/indexeddb/IndexedDBClient.h" |
-#include "modules/indexeddb/WebIDBCallbacksImpl.h" |
-#include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h" |
#include "platform/Histogram.h" |
#include "platform/weborigin/SecurityOrigin.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebSecurityOrigin.h" |
+#include "public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h" |
#include "public/platform/modules/indexeddb/WebIDBFactory.h" |
#include <memory> |
@@ -82,7 +81,7 @@ IDBRequest* IDBFactory::getDatabaseNames(ScriptState* scriptState, ExceptionStat |
return request; |
} |
- Platform::current()->idbFactory()->getDatabaseNames(WebIDBCallbacksImpl::create(request).release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
+ Platform::current()->idbFactory()->getDatabaseNames(request->createWebCallbacks().release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
return request; |
} |
@@ -116,7 +115,7 @@ IDBOpenDBRequest* IDBFactory::openInternal(ScriptState* scriptState, const Strin |
return request; |
} |
- Platform::current()->idbFactory()->open(name, version, transactionId, WebIDBCallbacksImpl::create(request).release(), WebIDBDatabaseCallbacksImpl::create(databaseCallbacks).release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
+ Platform::current()->idbFactory()->open(name, version, transactionId, request->createWebCallbacks().release(), databaseCallbacks->createWebCallbacks().release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
return request; |
} |
@@ -144,7 +143,7 @@ IDBOpenDBRequest* IDBFactory::deleteDatabase(ScriptState* scriptState, const Str |
return request; |
} |
- Platform::current()->idbFactory()->deleteDatabase(name, WebIDBCallbacksImpl::create(request).release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
+ Platform::current()->idbFactory()->deleteDatabase(name, request->createWebCallbacks().release(), WebSecurityOrigin(scriptState->getExecutionContext()->getSecurityOrigin())); |
return request; |
} |