Index: experimental/PdfViewer/SkNulCanvas.h |
diff --git a/experimental/PdfViewer/SkNulCanvas.h b/experimental/PdfViewer/SkNulCanvas.h |
index af933526f5a53144ffe0ae7dc7ef3d5c08824baf..1c12a5b88faba60d52a1961152cef9cd9e47d0a8 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, |