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

Unified Diff: webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on 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
Index: webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
diff --git a/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc b/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
index 0db764a18957aa9f0a5e7b0b39e9340729040d60..acbbaf525ccca3c44dff1b75d55b0cde077726aa 100644
--- a/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
+++ b/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
@@ -34,15 +34,16 @@ class SyncableFileSystemTest : public testing::Test {
public:
SyncableFileSystemTest()
: file_system_(GURL("http://example.com/"),
- base::MessageLoopProxy::current(),
- base::MessageLoopProxy::current()),
+ base::MessageLoopProxy::current().get(),
+ base::MessageLoopProxy::current().get()),
weak_factory_(this) {}
virtual void SetUp() {
file_system_.SetUp();
- sync_context_ = new LocalFileSyncContext(base::MessageLoopProxy::current(),
- base::MessageLoopProxy::current());
+ sync_context_ =
+ new LocalFileSyncContext(base::MessageLoopProxy::current().get(),
+ base::MessageLoopProxy::current().get());
ASSERT_EQ(
sync_file_system::SYNC_STATUS_OK,
file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));

Powered by Google App Engine
This is Rietveld 408576698