From 198b590bb15422d06a14f59700c72f2fa71b1314 Mon Sep 17 00:00:00 2001 From: "rsleevi@chromium.org" Date: Thu, 27 Jun 2013 10:36:11 +0000 Subject: Update Linux to use scoped_refptr::get() rather than implicit "operator T*" Fixes a number of cases either not caught by the automated tool or that have recently regressed. BUG=206189 TBR=darin Review URL: https://chromiumcodereview.appspot.com/17948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208882 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/indexed_db/indexed_db_unittest.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '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 7ee9253..c0904e5 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 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 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 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)); -- cgit v1.1