| 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;
|
|
|
|
|