aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2014-11-13 08:33:37 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-13 08:33:37 -0800
commit6987dcaf257dd7c2c8e0014cf7452fde82bcba5b (patch)
tree8cc55eaa1f21619124d5807528f5cb4d602701ac /include/pdf
parent3b27adef0a52f6d321fdee7412ef69e7a7284bcc (diff)
Rename onCreateDevice -> onCreateCompatibleDevice
This is a port of https://codereview.chromium.org/723743002/ with the following changes: * drop the legacy onCreateDevice variant completely * also convert SkXPSDevice & SkGatherPixelRefsAndRects to the new API This is expected to break canaries and will require a manual/cowboy roll. TBR=reed@google.com NOTREECHECKS=true Review URL: https://codereview.chromium.org/720213002
Diffstat (limited to 'include/pdf')
-rw-r--r--include/pdf/SkPDFDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index f6f782b99a..1e09b72b06 100644
--- a/include/pdf/SkPDFDevice.h
+++ b/include/pdf/SkPDFDevice.h
@@ -259,7 +259,7 @@ private:
const SkRegion& existingClipRegion);
// override from SkBaseDevice
- virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE;
+ virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRIDE;
void init();
void cleanUp(bool clearFontUsage);