summaryrefslogtreecommitdiffstats
path: root/printing/image.cc
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 18:56:30 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 18:56:30 +0000
commitf3cab625e9f5a94b12449e1ca552cca67a17ce3b (patch)
tree9795bdcd8474d93629ef0987df7981a873c73b4b /printing/image.cc
parent52a69186b43c61c0f3c96abd583dc9a9e3cf447d (diff)
downloadchromium_src-f3cab625e9f5a94b12449e1ca552cca67a17ce3b.zip
chromium_src-f3cab625e9f5a94b12449e1ca552cca67a17ce3b.tar.gz
chromium_src-f3cab625e9f5a94b12449e1ca552cca67a17ce3b.tar.bz2
Added support for vector printing of Pepper v1 plugins on the Mac.
BUG=None. TEST=Test printing from Chrome PDF plugin on the Mac. Review URL: http://codereview.chromium.org/2808029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/image.cc')
-rw-r--r--printing/image.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/image.cc b/printing/image.cc
index dbee79d..d12d3d60 100644
--- a/printing/image.cc
+++ b/printing/image.cc
@@ -250,7 +250,8 @@ bool Image::LoadMetafile(const NativeMetafile& metafile) {
kCGImageAlphaPremultipliedLast));
DCHECK(bitmap_context.get());
metafile.RenderPage(page_number, bitmap_context,
- CGRectMake(0, 0, size_.width(), size_.height()));
+ CGRectMake(0, 0, size_.width(), size_.height()),
+ true, false, false, false);
}
#else
NOTIMPLEMENTED();