Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: net/disk_cache/simple/simple_index_file_unittest.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_index_file_unittest.cc
diff --git a/net/disk_cache/simple/simple_index_file_unittest.cc b/net/disk_cache/simple/simple_index_file_unittest.cc
index ac22112481ec9bf558ac01719d19a6198f15f9d5..6d3720323cc7436320bde2fe4a6efe64ae0ac381 100644
--- a/net/disk_cache/simple/simple_index_file_unittest.cc
+++ b/net/disk_cache/simple/simple_index_file_unittest.cc
@@ -62,10 +62,9 @@ class WrappedSimpleIndexFile : public SimpleIndexFile {
using SimpleIndexFile::Serialize;
explicit WrappedSimpleIndexFile(const base::FilePath& index_file_directory)
- : SimpleIndexFile(base::MessageLoopProxy::current(),
- base::MessageLoopProxy::current(),
- index_file_directory) {
- }
+ : SimpleIndexFile(base::MessageLoopProxy::current().get(),
+ base::MessageLoopProxy::current().get(),
+ index_file_directory) {}
virtual ~WrappedSimpleIndexFile() {
}
};
@@ -233,7 +232,7 @@ TEST_F(SimpleIndexFileTest, LoadCorruptIndex) {
EXPECT_FALSE(WrappedSimpleIndexFile::IsIndexFileStale(index_path));
WrappedSimpleIndexFile simple_index_file(temp_dir.path());
- simple_index_file.LoadIndexEntries(base::MessageLoopProxy::current(),
+ simple_index_file.LoadIndexEntries(base::MessageLoopProxy::current().get(),
GetCallback());
base::RunLoop().RunUntilIdle();
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698