Commit e1e4ed6a authored by vandebo@chromium.org's avatar vandebo@chromium.org

Fix 3D-CSS transform printing - proxy device origin.

Depends on Skia r2108,2116

BUG=82746
TEST=print http://www.webkit.org/blog-files/3d-transforms/poster-circle.html

Review URL: http://codereview.chromium.org/7620016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96920 0039d316-1c4b-4281-b951-d872f2087c98
parent 0d2c1bd7
......@@ -186,6 +186,8 @@ void VectorPlatformDeviceSkia::drawDevice(const SkDraw& draw,
// to unwrap the embedded SkPDFDevice.
VectorPlatformDeviceSkia* vector_device =
static_cast<VectorPlatformDeviceSkia*>(device);
vector_device->pdf_device_->setOrigin(vector_device->getOrigin().fX,
vector_device->getOrigin().fY);
real_device = vector_device->pdf_device_.get();
}
pdf_device_->drawDevice(draw, real_device, x, y, paint);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment