Index: chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
diff --git a/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc b/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
index 9c69f4d62736b488c6cc119d63a9592ee913de43..323949a94af58d9fb92a87018fd651cc69027700 100644 |
--- a/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
+++ b/chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include <string.h> |
+#include <utility> |
#include "base/command_line.h" |
#include "base/guid.h" |
@@ -145,7 +146,7 @@ class DomDistillerViewerSourceBrowserTest : public InProcessBrowserTest { |
EXPECT_CALL(*distiller_page_factory_, CreateDistillerPageImpl()) |
.WillOnce(testing::Return(distiller_page)); |
} |
- return service.Pass(); |
+ return std::move(service); |
} |
void ViewSingleDistilledPage(const GURL& url, |
@@ -484,7 +485,7 @@ IN_PROC_BROWSER_TEST_F(DomDistillerViewerSourceBrowserTest, MultiPageArticle) { |
} |
// Complete the load. |
- distiller->RunDistillerCallback(article.Pass()); |
+ distiller->RunDistillerCallback(std::move(article)); |
base::RunLoop().RunUntilIdle(); |
std::string result; |