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

Unified Diff: components/web_view/web_view_apptest.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
« no previous file with comments | « components/web_view/web_view_application_delegate.cc ('k') | components/web_view/web_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/web_view_apptest.cc
diff --git a/components/web_view/web_view_apptest.cc b/components/web_view/web_view_apptest.cc
index de791f036d42497a1f4c0130e0e20e079a970229..d8d7858693e290b4a7e6fab008367b5262c7c134 100644
--- a/components/web_view/web_view_apptest.cc
+++ b/components/web_view/web_view_apptest.cc
@@ -5,6 +5,7 @@
#include "components/web_view/public/cpp/web_view.h"
#include <stdint.h>
+#include <utility>
#include "base/base_paths.h"
#include "base/files/file_path.h"
@@ -83,7 +84,7 @@ class WebViewTest : public mus::WindowServerTestBase,
void NavigateTo(const std::string& file) {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = GetTestFileURL(file).spec();
- web_view()->LoadRequest(request.Pass());
+ web_view()->LoadRequest(std::move(request));
StartNestedRunLoopUntil(LOADING_DONE);
}
« no previous file with comments | « components/web_view/web_view_application_delegate.cc ('k') | components/web_view/web_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698