diff options
author | dcheng <dcheng@chromium.org> | 2015-12-27 18:24:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-28 02:26:02 +0000 |
commit | e486004502c17ab80953ef324926a536b8030d1e (patch) | |
tree | 9f51129a18a65823dfa8242491756a0697ea274a /printing/printed_page.cc | |
parent | 03b487d118b5b1c0e5651a889cc56b443ba1d526 (diff) | |
download | chromium_src-e486004502c17ab80953ef324926a536b8030d1e.zip chromium_src-e486004502c17ab80953ef324926a536b8030d1e.tar.gz chromium_src-e486004502c17ab80953ef324926a536b8030d1e.tar.bz2 |
Global conversion of Pass()→std::move() on OS==linux
❆(੭ु ◜◡‾)੭ु⁾☃❆
BUG=557422
R=avi@chromium.org
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1550693002
Cr-Commit-Position: refs/heads/master@{#366956}
Diffstat (limited to 'printing/printed_page.cc')
-rw-r--r-- | printing/printed_page.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/printing/printed_page.cc b/printing/printed_page.cc index 998f8be..2c3e7e8 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 |