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

Unified Diff: printing/printed_document.cc

Issue 1863223002: Convert //printing to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « printing/printed_document.h ('k') | printing/printed_page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.cc
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index c4f2fb7b7a0a9d5364024dcd055ab2aced15a57d..f77b135f2f8de659805b3984ef3d95d67885d4fd 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -110,7 +110,7 @@ PrintedDocument::~PrintedDocument() {
}
void PrintedDocument::SetPage(int page_number,
- scoped_ptr<MetafilePlayer> metafile,
+ std::unique_ptr<MetafilePlayer> metafile,
#if defined(OS_WIN)
float shrink,
#endif // OS_WIN
« no previous file with comments | « printing/printed_document.h ('k') | printing/printed_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698