From 5c70cdca5efe541b70d010e91607bf8626ea49ca Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Sat, 8 Mar 2014 03:57:19 +0000 Subject: hide getTotalClip, so we can eventually remove it hide getClipType, so we can eventually remove it patch from issue 189443007 TBR=robertphilips@google.com Author: reed@chromium.org Review URL: https://codereview.chromium.org/189883010 git-svn-id: http://skia.googlecode.com/svn/trunk@13715 2bbb7eff-a529-9590-31e7-b0007b416f81 --- experimental/PdfViewer/SkNulCanvas.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'experimental/PdfViewer') diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h index af933526f5..1c12a5b88f 100644 --- a/experimental/PdfViewer/SkNulCanvas.h +++ b/experimental/PdfViewer/SkNulCanvas.h @@ -84,7 +84,9 @@ public: virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE {return NULL;} virtual bool isClipEmpty() const SK_OVERRIDE { return false; } +#ifdef SK_SUPPORT_LEGACY_GETCLIPTYPE virtual ClipType getClipType() const SK_OVERRIDE { return kRect_ClipType; } +#endif virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE { if (NULL != bounds) { bounds->setXYWH(0, 0, -- cgit v1.2.3