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

Unified Diff: printing/printed_document_cairo.cc

Issue 6826027: Connect the right metafiles for print preview on Linux and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems Created 9 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.cc ('k') | printing/printed_document_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document_cairo.cc
diff --git a/printing/printed_document_cairo.cc b/printing/printed_document_cairo.cc
index cb9bbd0c1ae74c0004478f9df1d99bf8bcf7a9df..7675b963ddde5cfa9cbb7772c8f34c17fed5cb18 100644
--- a/printing/printed_document_cairo.cc
+++ b/printing/printed_document_cairo.cc
@@ -28,7 +28,7 @@ void PrintedDocument::RenderPrintedPage(
base::AutoLock lock(lock_);
if (page.page_number() - 1 == mutable_.first_page) {
reinterpret_cast<PrintingContextCairo*>(context)->PrintDocument(
- page.native_metafile());
+ page.metafile());
}
}
#endif // !defined(OS_CHROMEOS)
« no previous file with comments | « printing/printed_document.cc ('k') | printing/printed_document_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698