Index: chrome/browser/printing/print_view_manager_base.cc |
diff --git a/chrome/browser/printing/print_view_manager_base.cc b/chrome/browser/printing/print_view_manager_base.cc |
index e4182f262ae8d6c449ac1fcff27554f50a63d3b6..6d128d2bfdf883ebf6aeaecc77d24c867ad93c2c 100644 |
--- a/chrome/browser/printing/print_view_manager_base.cc |
+++ b/chrome/browser/printing/print_view_manager_base.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/printing/print_view_manager_base.h" |
+#include <utility> |
+ |
#include "base/auto_reset.h" |
#include "base/bind.h" |
#include "base/location.h" |
@@ -191,9 +193,7 @@ void PrintViewManagerBase::OnDidPrintPage( |
} |
#else |
// Update the rendered document. It will send notifications to the listener. |
- document->SetPage(params.page_number, |
- metafile.Pass(), |
- params.page_size, |
+ document->SetPage(params.page_number, std::move(metafile), params.page_size, |
params.content_area); |
ShouldQuitFromInnerMessageLoop(); |