| Index: content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| index 6d52e8ad56b28f7a6e900557757f98ba58834cd1..4a7151878c31032042181ab26d1b903ffcc7adaf 100644
|
| --- a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| @@ -58,15 +58,14 @@ class MockLevelDBFactory : public LevelDBFactory {
|
| };
|
|
|
| TEST(IndexedDBIOErrorTest, CleanUpTest) {
|
| - WebSecurityOrigin origin(
|
| - WebSecurityOrigin::createFromString("http://localhost:81"));
|
| + std::string origin_identifier("http_localhost_81");
|
| base::ScopedTempDir temp_directory;
|
| ASSERT_TRUE(temp_directory.CreateUniqueTempDir());
|
| const base::FilePath path = temp_directory.path();
|
| - string16 dummy_file_identifier;
|
| + std::string dummy_file_identifier;
|
| MockLevelDBFactory mock_leveldb_factory;
|
| scoped_refptr<IndexedDBBackingStore> backing_store =
|
| - IndexedDBBackingStore::Open(origin.databaseIdentifier(),
|
| + IndexedDBBackingStore::Open(origin_identifier,
|
| path,
|
| dummy_file_identifier,
|
| &mock_leveldb_factory);
|
|
|