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

Unified Diff: components/test_runner/web_test_interfaces.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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: components/test_runner/web_test_interfaces.cc
diff --git a/components/test_runner/web_test_interfaces.cc b/components/test_runner/web_test_interfaces.cc
index ca8aabda522809911f2c4542d36a92a41722cbd6..120b57e38d6c1adefcadb7c4ff7278b796972a14 100644
--- a/components/test_runner/web_test_interfaces.cc
+++ b/components/test_runner/web_test_interfaces.cc
@@ -4,6 +4,8 @@
#include "components/test_runner/web_test_interfaces.h"
+#include <utility>
+
#include "components/test_runner/app_banner_client.h"
#include "components/test_runner/mock_web_audio_device.h"
#include "components/test_runner/mock_web_media_stream_center.h"
@@ -83,7 +85,7 @@ scoped_ptr<blink::WebAppBannerClient>
WebTestInterfaces::CreateAppBannerClient() {
scoped_ptr<AppBannerClient> client(new AppBannerClient);
interfaces_->SetAppBannerClient(client.get());
- return client.Pass();
+ return std::move(client);
}
AppBannerClient* WebTestInterfaces::GetAppBannerClient() {
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/translate/content/renderer/data_file_renderer_cld_data_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698