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

Unified Diff: skia/ext/vector_platform_device_skia.cc

Issue 7620016: Fix 3D-CSS transform printing - proxy device origin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update based on Skia change Created 9 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_platform_device_skia.cc
diff --git a/skia/ext/vector_platform_device_skia.cc b/skia/ext/vector_platform_device_skia.cc
index dbc5843679b167c98ac580d374d937617f68898d..95d40f45c2b1ce11882df4dfcab4b7c10b7fd2a7 100644
--- a/skia/ext/vector_platform_device_skia.cc
+++ b/skia/ext/vector_platform_device_skia.cc
@@ -187,6 +187,8 @@ void VectorPlatformDeviceSkia::drawDevice(const SkDraw& draw,
VectorPlatformDeviceSkia* vector_device =
static_cast<VectorPlatformDeviceSkia*>(device);
real_device = vector_device->pdf_device_.get();
+ vector_device->pdf_device_->setOrigin(vector_device->getOrigin().fX,
Chris Guillory 2011/08/16 00:30:57 Nit: Can we move this logic up one line?
vandebo (ex-Chrome) 2011/08/16 01:37:20 Done.
+ vector_device->getOrigin().fY);
}
pdf_device_->drawDevice(draw, real_device, x, y, paint);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698