aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-15 21:20:59 +0000
committerGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-15 21:20:59 +0000
commit7b5e0171694364ef86e3e78dbdd8b83a336b8f53 (patch)
tree07fcbe51680d2841d1f2810c0e9b7c85f2d8cdb6 /src
parent06546d81f254d94c5076df0cfb9be515350d3fef (diff)
Make SkPDFDevice::setOrigin accessible to Chrome's VectorPlatformDeviceSkia.
BUG=chrome 82746 Review URL: http://codereview.appspot.com/4888048 git-svn-id: http://skia.googlecode.com/svn/trunk@2116 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/pdf/SkPDFDevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index f5482cd976..daf80181fb 100644
--- a/src/pdf/SkPDFDevice.cpp
+++ b/src/pdf/SkPDFDevice.cpp
@@ -1158,6 +1158,10 @@ SkData* SkPDFDevice::copyContentToData() const {
return data.copyToData();
}
+void SkPDFDevice::setOrigin(int x, int y) {
+ INHERITED::setOrigin(x, y);
+}
+
void SkPDFDevice::createFormXObjectFromDevice(
SkRefPtr<SkPDFFormXObject>* xobject) {
*xobject = new SkPDFFormXObject(this);