Index: content/browser/indexed_db/indexed_db_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc |
index 7ee92539ed234cc5e4b8ee33b36db10f50bbe7f4..c0904e59b6a6faee9f9d661e38157a923ad0c687 100644 |
--- a/content/browser/indexed_db/indexed_db_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_unittest.cc |
@@ -62,9 +62,9 @@ TEST_F(IndexedDBTest, ClearSessionOnlyDatabases) { |
{ |
scoped_refptr<IndexedDBContextImpl> idb_context = |
new IndexedDBContextImpl(temp_dir.path(), |
- special_storage_policy_, |
+ special_storage_policy_.get(), |
NULL, |
- task_runner_); |
+ task_runner_.get()); |
normal_path = idb_context->GetFilePathForTesting( |
webkit_database::GetIdentifierFromOrigin(kNormalOrigin)); |
@@ -96,9 +96,9 @@ TEST_F(IndexedDBTest, SetForceKeepSessionState) { |
// With the levelDB backend, these are directories. |
scoped_refptr<IndexedDBContextImpl> idb_context = |
new IndexedDBContextImpl(temp_dir.path(), |
- special_storage_policy_, |
+ special_storage_policy_.get(), |
NULL, |
- task_runner_); |
+ task_runner_.get()); |
// Save session state. This should bypass the destruction-time deletion. |
idb_context->SetForceKeepSessionState(); |
@@ -155,9 +155,9 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) { |
scoped_refptr<IndexedDBContextImpl> idb_context = |
new IndexedDBContextImpl(temp_dir.path(), |
- special_storage_policy_, |
+ special_storage_policy_.get(), |
NULL, |
- task_runner_); |
+ task_runner_.get()); |
test_path = idb_context->GetFilePathForTesting( |
webkit_database::GetIdentifierFromOrigin(kTestOrigin)); |