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

Unified Diff: printing/emf_win.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months 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
Index: printing/emf_win.cc
diff --git a/printing/emf_win.cc b/printing/emf_win.cc
index 3d543847006a2d716b7b3a21f89a24e8437d715f..2e8df7666830774177a8990913154bf4b6404b99 100644
--- a/printing/emf_win.cc
+++ b/printing/emf_win.cc
@@ -569,7 +569,7 @@ scoped_ptr<Emf> Emf::RasterizeMetafile(int raster_area_in_pixels) const {
result->FinishPage();
result->FinishDocument();
- return result.Pass();
+ return result;
}
scoped_ptr<Emf> Emf::RasterizeAlphaBlend() const {
@@ -602,7 +602,7 @@ scoped_ptr<Emf> Emf::RasterizeAlphaBlend() const {
result->FinishDocument();
- return result.Pass();
+ return result;
}

Powered by Google App Engine
This is Rietveld 408576698