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

Unified Diff: printing/printed_page.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (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
« no previous file with comments | « printing/printed_document.cc ('k') | remoting/host/video_frame_recorder_host_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_page.cc
diff --git a/printing/printed_page.cc b/printing/printed_page.cc
index 998f8be5e51fc488dd28001b1534fb047af716f5..2c3e7e863afc419b5f5c65a5303bbf39a72b7fa3 100644
--- a/printing/printed_page.cc
+++ b/printing/printed_page.cc
@@ -4,6 +4,8 @@
#include "printing/printed_page.h"
+#include <utility>
+
namespace printing {
PrintedPage::PrintedPage(int page_number,
@@ -11,7 +13,7 @@ PrintedPage::PrintedPage(int page_number,
const gfx::Size& page_size,
const gfx::Rect& page_content_rect)
: page_number_(page_number),
- metafile_(metafile.Pass()),
+ metafile_(std::move(metafile)),
#if defined(OS_WIN)
shrink_factor_(0.0f),
#endif // OS_WIN
« no previous file with comments | « printing/printed_document.cc ('k') | remoting/host/video_frame_recorder_host_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698