Index: content/public/test/browser_test_utils.cc |
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc |
index c4d37ac2b91a1f6a630be72edbd2ca75ffb468f9..a15e0f08a8aab61a7346a4136e056af8cfc1a4a6 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -5,6 +5,7 @@ |
#include "content/public/test/browser_test_utils.h" |
#include <stddef.h> |
+#include <utility> |
#include "base/auto_reset.h" |
#include "base/bind.h" |
@@ -309,7 +310,7 @@ scoped_ptr<net::test_server::HttpResponse> CrossSiteRedirectResponseHandler( |
new net::test_server::BasicHttpResponse); |
http_response->set_code(net::HTTP_MOVED_PERMANENTLY); |
http_response->AddCustomHeader("Location", redirect_target.spec()); |
- return http_response.Pass(); |
+ return std::move(http_response); |
} |
} // namespace |