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

Unified Diff: webkit/browser/fileapi/syncable/syncable_file_operation_runner_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_operation_runner_unittest.cc
diff --git a/webkit/browser/fileapi/syncable/syncable_file_operation_runner_unittest.cc b/webkit/browser/fileapi/syncable/syncable_file_operation_runner_unittest.cc
index 77cbb1bb7ec1ddc05d3c86bfd2b1ba87bfa97d93..03f1a3d9d9171c816344f155f2ab1598835638c2 100644
--- a/webkit/browser/fileapi/syncable/syncable_file_operation_runner_unittest.cc
+++ b/webkit/browser/fileapi/syncable/syncable_file_operation_runner_unittest.cc
@@ -60,8 +60,9 @@ class SyncableFileOperationRunnerTest : public testing::Test {
file_system_.SetUp();
sync_context_ = new LocalFileSyncContext(base::MessageLoopProxy::current(),
base::MessageLoopProxy::current());
- ASSERT_EQ(SYNC_STATUS_OK,
- file_system_.MaybeInitializeFileSystemContext(sync_context_));
+ ASSERT_EQ(
+ SYNC_STATUS_OK,
+ file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));
ASSERT_EQ(base::PLATFORM_FILE_OK, file_system_.OpenFileSystem());
ASSERT_EQ(base::PLATFORM_FILE_OK,
@@ -69,7 +70,7 @@ class SyncableFileOperationRunnerTest : public testing::Test {
}
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