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

Unified Diff: chrome/browser/apps/drive/drive_service_bridge.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: chrome/browser/apps/drive/drive_service_bridge.cc
diff --git a/chrome/browser/apps/drive/drive_service_bridge.cc b/chrome/browser/apps/drive/drive_service_bridge.cc
index e45c4a78bca2901e141de3c120cf170024270d0d..a9f57e8bb5371e3c1346b4f81b37e706ee1cf8a0 100644
--- a/chrome/browser/apps/drive/drive_service_bridge.cc
+++ b/chrome/browser/apps/drive/drive_service_bridge.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/apps/drive/drive_service_bridge.h"
#include <string>
+#include <utility>
#include "base/logging.h"
#include "base/macros.h"
@@ -126,7 +127,7 @@ scoped_ptr<DriveServiceBridge> DriveServiceBridge::Create(Profile* profile) {
scoped_ptr<DriveServiceBridgeImpl> bridge(
new DriveServiceBridgeImpl(profile));
bridge->Initialize();
- return bridge.Pass();
+ return std::move(bridge);
}
// static

Powered by Google App Engine
This is Rietveld 408576698