summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/search_metadata_unittest.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 22:01:55 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 22:01:55 +0000
commit3cd8a6adfebd0b117d3fdacbc2ef8e5aaaf24c61 (patch)
tree443d82d568c07a973669a96798d80852c71d17e3 /chrome/browser/chromeos/drive/search_metadata_unittest.cc
parent2927bea88c621fb0250aa9df5a4a6a4f7a0636bc (diff)
downloadchromium_src-3cd8a6adfebd0b117d3fdacbc2ef8e5aaaf24c61.zip
chromium_src-3cd8a6adfebd0b117d3fdacbc2ef8e5aaaf24c61.tar.gz
chromium_src-3cd8a6adfebd0b117d3fdacbc2ef8e5aaaf24c61.tar.bz2
Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*"
Fixes a number of cases either not caught by the automated tool or that have recently regressed. BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/18308004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/drive/search_metadata_unittest.cc')
-rw-r--r--chrome/browser/chromeos/drive/search_metadata_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/drive/search_metadata_unittest.cc b/chrome/browser/chromeos/drive/search_metadata_unittest.cc
index 645ccb5..274b50e 100644
--- a/chrome/browser/chromeos/drive/search_metadata_unittest.cc
+++ b/chrome/browser/chromeos/drive/search_metadata_unittest.cc
@@ -68,12 +68,12 @@ class SearchMetadataTest : public testing::Test {
fake_free_disk_space_getter_.reset(new FakeFreeDiskSpaceGetter);
metadata_storage_.reset(new ResourceMetadataStorage(
- temp_dir_.path(), base::MessageLoopProxy::current()));
+ temp_dir_.path(), base::MessageLoopProxy::current().get()));
ASSERT_TRUE(metadata_storage_->Initialize());
cache_.reset(new FileCache(metadata_storage_.get(),
temp_dir_.path(),
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
fake_free_disk_space_getter_.get()));
ASSERT_TRUE(cache_->Initialize());