diff options
author | 2016-07-21 07:17:54 -0700 | |
---|---|---|
committer | 2016-07-21 07:17:54 -0700 | |
commit | 1f3923e4e5bf9afb9e52a15ced30e3854af73f7b (patch) | |
tree | b3d9484a73598754f40e74b67971f49e32b44a23 /src/pdf/SkPDFDevice.h | |
parent | afbf71dd924c7bb46ccdac49e7408b4b088563ff (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.h | 6 |
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; //////////////////////////////////////////////////////////////////////////// |