aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFDevice.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-21 07:17:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-21 07:17:54 -0700
commit1f3923e4e5bf9afb9e52a15ced30e3854af73f7b (patch)
treeb3d9484a73598754f40e74b67971f49e32b44a23 /src/pdf/SkPDFDevice.h
parentafbf71dd924c7bb46ccdac49e7408b4b088563ff (diff)
Deprecate SkDevice::accessBitmap method
Relies on https://codereview.chromium.org/2162423003/ (Add SK_SUPPORT_LEGACY_ACCESSBITMAP Skia guard) landing in Chromium first. Calved off: https://codereview.chromium.org/2163323002/ (Add desired width & height to drawContext (as opposed to using the width & height of the RT)) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2168483003 Review-Url: https://codereview.chromium.org/2168483003
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
-rw-r--r--src/pdf/SkPDFDevice.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h
index ca78663347..f8497c63ff 100644
--- a/src/pdf/SkPDFDevice.h
+++ b/src/pdf/SkPDFDevice.h
@@ -193,10 +193,6 @@ public:
};
protected:
- const SkBitmap& onAccessBitmap() override {
- return fLegacyBitmap;
- }
-
sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override;
void drawAnnotation(const SkDraw&, const SkRect&, const char key[], SkData* value) override;
@@ -264,8 +260,6 @@ private:
SkScalar fRasterDpi;
- SkBitmap fLegacyBitmap;
-
SkPDFDocument* fDocument;
////////////////////////////////////////////////////////////////////////////