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

Unified Diff: printing/printed_document_win.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 issues and rename MetafileInterface to Metafile 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
Index: printing/printed_document_win.cc
diff --git a/printing/printed_document_win.cc b/printing/printed_document_win.cc
index a0719b43ad913c03fc35662554b4208dd40e00cc..cb25fdef8993aa5ddc2ac6315eb844a357b1cab4 100644
--- a/printing/printed_document_win.cc
+++ b/printing/printed_document_win.cc
@@ -114,7 +114,7 @@ void PrintedDocument::RenderPrintedPage(
content_area.y() - page_setup.printable_area().y(),
mutable_.shrink_factor);
- if (!page.native_metafile()->SafePlayback(context)) {
+ if (!page.metafile()->SafePlayback(context)) {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698