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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate_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_classifier_delegate_browsertest.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc b/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
index 04a386f779302848a20bd346d7dfc0e4f4d91807..144d9f16dd94075f88777298da9bcc0cb93d17d5 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
@@ -5,6 +5,8 @@
#include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h"
#include <stdint.h>
+#include <utility>
+
#include "base/command_line.h"
#include "base/location.h"
#include "base/macros.h"
@@ -208,7 +210,7 @@ class PhishingClassifierDelegateTest : public InProcessBrowserTest {
http_response->set_code(net::HTTP_OK);
http_response->set_content_type("text/html");
http_response->set_content(response_content_);
- return http_response.Pass();
+ return std::move(http_response);
}
content::WebContents* GetWebContents() {

Powered by Google App Engine
This is Rietveld 408576698