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

Unified Diff: webkit/browser/fileapi/syncable/syncable_file_system_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/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 36e5b6a07fd1d75e7c30fcfcfbb392aadc3ada1c..f6bbd856acec43a933e27ed71ebcc06a0360fcdd 100644
--- a/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
+++ b/webkit/browser/fileapi/syncable/syncable_file_system_unittest.cc
@@ -43,12 +43,13 @@ class SyncableFileSystemTest : 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() {
- if (sync_context_)
+ if (sync_context_.get())
sync_context_->ShutdownOnUIThread();
sync_context_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698