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

Unified Diff: chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.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/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
diff --git a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
index 7cc661457c2ae75af80a70e8fd462d103157c17a..248b368535a12487062c3d4f3724bd9b34ba1022 100644
--- a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
+++ b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
@@ -10,6 +10,8 @@
#include "chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h"
#include <stdint.h>
+#include <utility>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
@@ -153,7 +155,7 @@ class PhishingDOMFeatureExtractorTest : public InProcessBrowserTest {
http_response->set_code(net::HTTP_OK);
http_response->set_content_type("text/html");
http_response->set_content(it->second);
- return http_response.Pass();
+ return std::move(http_response);
}
GURL GetURL(const std::string& host, const std::string& path) {

Powered by Google App Engine
This is Rietveld 408576698