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

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

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/local_file_change_tracker_unittest.cc
diff --git a/webkit/browser/fileapi/syncable/local_file_change_tracker_unittest.cc b/webkit/browser/fileapi/syncable/local_file_change_tracker_unittest.cc
index 834389d699ec8126c19b2f8a330b5767fdd823f8..a454b8d96a0ba2b8e50c970df5a207bbfb66769a 100644
--- a/webkit/browser/fileapi/syncable/local_file_change_tracker_unittest.cc
+++ b/webkit/browser/fileapi/syncable/local_file_change_tracker_unittest.cc
@@ -45,12 +45,13 @@ class LocalFileChangeTrackerTest : public testing::Test {
sync_context_ = new LocalFileSyncContext(base::MessageLoopProxy::current(),
base::MessageLoopProxy::current());
- ASSERT_EQ(sync_file_system::SYNC_STATUS_OK,
- file_system_.MaybeInitializeFileSystemContext(sync_context_));
+ ASSERT_EQ(
+ sync_file_system::SYNC_STATUS_OK,
+ file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));
}
virtual void TearDown() OVERRIDE {
- if (sync_context_)
+ if (sync_context_.get())
sync_context_->ShutdownOnUIThread();
sync_context_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698