Index: content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
index d519f89fa362347fe1470564ef275b646c555a7a..ebeb6e05caa3ff6250dd17f6918208982088c3f3 100644 |
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
@@ -335,7 +335,12 @@ class MockIDBFactory : public IndexedDBFactory { |
scoped_refptr<IndexedDBBackingStore> TestOpenBackingStore( |
const WebSecurityOrigin& origin, |
const base::FilePath& data_directory) { |
- return OpenBackingStore(origin.databaseIdentifier(), data_directory); |
+ WebKit::WebIDBCallbacks::DataLoss data_loss = |
+ WebKit::WebIDBCallbacks::DataLossNone; |
+ scoped_refptr<IndexedDBBackingStore> backing_store = OpenBackingStore( |
+ origin.databaseIdentifier(), data_directory, &data_loss); |
+ EXPECT_EQ(WebKit::WebIDBCallbacks::DataLossNone, data_loss); |
+ return backing_store; |
} |
private: |