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

Unified Diff: chrome/browser/services/gcm/fake_gcm_profile_service.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/services/gcm/fake_gcm_profile_service.cc
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.cc b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
index c1a5ee49e0242fa5c23d59ac90da65c2216ac198..ba20c64b36c2ec9a73602e86d31e077045bacede 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/services/gcm/fake_gcm_profile_service.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/format_macros.h"
#include "base/location.h"
@@ -122,7 +124,7 @@ scoped_ptr<KeyedService> FakeGCMProfileService::Build(
Profile* profile = static_cast<Profile*>(context);
scoped_ptr<FakeGCMProfileService> service(new FakeGCMProfileService(profile));
service->SetDriverForTesting(new CustomFakeGCMDriver(service.get()));
- return service.Pass();
+ return std::move(service);
}
FakeGCMProfileService::FakeGCMProfileService(Profile* profile)

Powered by Google App Engine
This is Rietveld 408576698