| Index: chrome/browser/sync_file_system/local/sync_file_system_backend.cc
|
| diff --git a/chrome/browser/sync_file_system/local/sync_file_system_backend.cc b/chrome/browser/sync_file_system/local/sync_file_system_backend.cc
|
| index fbb94444c58296561db240984b77793198fa9213..cd67ac113b2d38b8000f38f7e11b087d2e75d845 100644
|
| --- a/chrome/browser/sync_file_system/local/sync_file_system_backend.cc
|
| +++ b/chrome/browser/sync_file_system/local/sync_file_system_backend.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h"
|
|
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| @@ -168,12 +169,12 @@ storage::FileSystemOperation* SyncFileSystemBackend::CreateFileSystemOperation(
|
| return nullptr;
|
|
|
| if (url.type() == storage::kFileSystemTypeSyncableForInternalSync) {
|
| - return storage::FileSystemOperation::Create(
|
| - url, context, operation_context.Pass());
|
| + return storage::FileSystemOperation::Create(url, context,
|
| + std::move(operation_context));
|
| }
|
|
|
| - return new SyncableFileSystemOperation(
|
| - url, context, operation_context.Pass());
|
| + return new SyncableFileSystemOperation(url, context,
|
| + std::move(operation_context));
|
| }
|
|
|
| bool SyncFileSystemBackend::SupportsStreaming(
|
| @@ -240,7 +241,7 @@ void SyncFileSystemBackend::SetLocalFileChangeTracker(
|
| scoped_ptr<LocalFileChangeTracker> tracker) {
|
| DCHECK(!change_tracker_);
|
| DCHECK(tracker);
|
| - change_tracker_ = tracker.Pass();
|
| + change_tracker_ = std::move(tracker);
|
|
|
| storage::SandboxFileSystemBackendDelegate* delegate = GetDelegate();
|
| delegate->AddFileUpdateObserver(storage::kFileSystemTypeSyncable,
|
|
|