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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl_unittest.cc
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc
index 36edb37baac3e5fa6239be0856a0689c56f3a42f..10676a0a8ae4a8806c5b01ee49647233053b3d12 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -6,6 +6,7 @@
#include <stdint.h>
#include <string.h>
+#include <utility>
#include <vector>
#include "base/command_line.h"
@@ -692,7 +693,7 @@ TEST_F(WebURLLoaderImplTest, BrowserSideNavigationCommit) {
stream_override->stream_url = kStreamURL;
stream_override->response.mime_type = kMimeType;
RequestExtraData* extra_data = new RequestExtraData();
- extra_data->set_stream_override(stream_override.Pass());
+ extra_data->set_stream_override(std::move(stream_override));
request.setExtraData(extra_data);
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableBrowserSideNavigation);
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698