Index: third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp |
index 17c1708757535e34c66f49af5e8c40e3e49d2807..a0497677befa125ce97ae834268fc1254029cc2b 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequestTest.cpp |
@@ -32,7 +32,6 @@ |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/testing/NullExecutionContext.h" |
-#include "modules/indexeddb/IDBDatabaseCallbacks.h" |
#include "modules/indexeddb/IDBKey.h" |
#include "modules/indexeddb/IDBOpenDBRequest.h" |
#include "modules/indexeddb/IDBValue.h" |
@@ -93,7 +92,6 @@ TEST(IDBRequestTest, ConnectionsAfterStopping) |
const int64_t version = 1; |
const int64_t oldVersion = 0; |
const IDBDatabaseMetadata metadata; |
- Persistent<IDBDatabaseCallbacks> callbacks = IDBDatabaseCallbacks::create(); |
{ |
std::unique_ptr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create(); |
@@ -101,7 +99,7 @@ TEST(IDBRequestTest, ConnectionsAfterStopping) |
.Times(1); |
EXPECT_CALL(*backend, close()) |
.Times(1); |
- IDBOpenDBRequest* request = IDBOpenDBRequest::create(scope.getScriptState(), callbacks, transactionId, version); |
+ IDBOpenDBRequest* request = IDBOpenDBRequest::create(scope.getScriptState(), nullptr, transactionId, version); |
EXPECT_EQ(request->readyState(), "pending"); |
scope.getExecutionContext()->stopActiveDOMObjects(); |
@@ -112,7 +110,7 @@ TEST(IDBRequestTest, ConnectionsAfterStopping) |
std::unique_ptr<MockWebIDBDatabase> backend = MockWebIDBDatabase::create(); |
EXPECT_CALL(*backend, close()) |
.Times(1); |
- IDBOpenDBRequest* request = IDBOpenDBRequest::create(scope.getScriptState(), callbacks, transactionId, version); |
+ IDBOpenDBRequest* request = IDBOpenDBRequest::create(scope.getScriptState(), nullptr, transactionId, version); |
EXPECT_EQ(request->readyState(), "pending"); |
scope.getExecutionContext()->stopActiveDOMObjects(); |