diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 16:34:40 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 16:34:40 +0000 |
commit | b2b0fceea58bf7e13cc73020133aff6d6b4f4640 (patch) | |
tree | 4e6991eb82096663c5072a3c28183036d1215acd /printing/emf_win.cc | |
parent | 76fcc3e9dc467366b9d1938834d7faff595ab873 (diff) | |
download | chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.zip chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.tar.gz chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.tar.bz2 |
When printing a page containing alpha blending on a printer which doesn't support alpha blending, post-process the
metafile to replace the AlphaBlend calls with BitBlts from a software-composited rendering of the page so far.
BUG=7434
TEST=see bug
Review URL: http://codereview.chromium.org/5362002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/emf_win.cc')
-rw-r--r-- | printing/emf_win.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/emf_win.cc b/printing/emf_win.cc index 9629bb2..5de962b 100644 --- a/printing/emf_win.cc +++ b/printing/emf_win.cc @@ -396,6 +396,8 @@ bool Emf::Record::SafePlayback(const XFORM* base_matrix) const { } else { res = Play(); } + } else { + res = true; } break; } |