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

Unified Diff: chrome/browser/printing/pdf_to_emf_converter.cc

Issue 2714073002: Eliminate PS printing edge cases (Closed)
Patch Set: Use GDI mode for PS level query Created 3 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: chrome/browser/printing/pdf_to_emf_converter.cc
diff --git a/chrome/browser/printing/pdf_to_emf_converter.cc b/chrome/browser/printing/pdf_to_emf_converter.cc
index f5066dc429f9543446f777ba40154f476c7c4ada..84a9c21eac7c5e640742ffc0663d5a5c81e966f4 100644
--- a/chrome/browser/printing/pdf_to_emf_converter.cc
+++ b/chrome/browser/printing/pdf_to_emf_converter.cc
@@ -373,8 +373,7 @@ bool PostScriptMetaFile::SafePlayback(HDC hdc) const {
reinterpret_cast<const EMRGDICOMMENT*>(emf_record);
const char* data = reinterpret_cast<const char*>(comment->Data);
const uint16_t* ptr = reinterpret_cast<const uint16_t*>(data);
- int ret =
- ExtEscape(hdc, POSTSCRIPT_PASSTHROUGH, 2 + *ptr, data, 0, nullptr);
+ int ret = ExtEscape(hdc, PASSTHROUGH, 2 + *ptr, data, 0, nullptr);
DCHECK_EQ(*ptr, ret);
}
}
« no previous file with comments | « no previous file | printing/print_settings_initializer_win.cc » ('j') | printing/print_settings_initializer_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698