IndexedDB: Use WeakPtr for Factory-to-BackingStore reference
[WebKit-https.git] / Source / WebKit / chromium / tests / IDBCleanupOnIOErrorTest.cpp
index 90dccd6..743e5c8 100644 (file)
@@ -77,9 +77,8 @@ TEST(IDBIOErrorTest, CleanUpTest)
     tempDirectory->CreateUniqueTempDir();
     const String path = String::fromUTF8(tempDirectory->path().c_str());
     String dummyFileIdentifier;
-    IDBFactoryBackendImpl* dummyIDBFactory = 0;
     MockLevelDBFactory mockLevelDBFactory;
-    RefPtr<IDBBackingStore> backingStore = IDBBackingStore::open(origin.get(), path, dummyFileIdentifier, dummyIDBFactory, &mockLevelDBFactory);
+    RefPtr<IDBBackingStore> backingStore = IDBBackingStore::open(origin.get(), path, dummyFileIdentifier, &mockLevelDBFactory);
 }
 
 } // namespace