Chromium Code Reviews| 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 314ce23f70ec5a02e52f25a11f0650d752468776..186de80981d2c2b44be6c8306b7f17624218f4fc 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,11 @@ 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::None; |
| + scoped_refptr<IndexedDBBackingStore> backing_store = OpenBackingStore( |
| + origin.databaseIdentifier(), data_directory, &data_loss); |
| + EXPECT_FALSE(data_loss); |
|
jsbell
2013/06/17 23:21:48
Should be: EXPECT_EQ(WebKit::WebIDBCallbacks::None
dgrogan
2013/06/17 23:52:40
Done.
|
| + return backing_store; |
| } |
| private: |