Index: chrome/browser/extensions/api/instance_id/instance_id_apitest.cc |
diff --git a/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc b/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc |
index cfadf6fd5809a92348229a851b4033ea624feb4f..646fab0801762c2a178b8996ef74c1653ff0005e 100644 |
--- a/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc |
+++ b/chrome/browser/extensions/api/instance_id/instance_id_apitest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <utility> |
+ |
#include "base/base_switches.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -29,7 +31,7 @@ scoped_ptr<KeyedService> BuildFakeGCMProfileService( |
scoped_ptr<gcm::FakeGCMProfileService> service( |
new gcm::FakeGCMProfileService(Profile::FromBrowserContext(context))); |
service->SetDriverForTesting(new instance_id::FakeGCMDriverForInstanceID()); |
- return service.Pass(); |
+ return std::move(service); |
} |
} // namespace |