Index: include/utils/SkNWayCanvas.h |
diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h |
index 3bb2c97232826328debc140316b134a5a980171e..c48bcab3c4d4b74ebe3f5f332469196c8afbb42e 100644 |
--- a/include/utils/SkNWayCanvas.h |
+++ b/include/utils/SkNWayCanvas.h |
@@ -16,9 +16,9 @@ public: |
SkNWayCanvas(int width, int height); |
virtual ~SkNWayCanvas(); |
- void addCanvas(SkCanvas*); |
- void removeCanvas(SkCanvas*); |
- void removeAll(); |
+ virtual void addCanvas(SkCanvas*); |
+ virtual void removeCanvas(SkCanvas*); |
+ virtual void removeAll(); |
/////////////////////////////////////////////////////////////////////////// |
// These are forwarded to the N canvases we're referencing |
@@ -79,11 +79,12 @@ public: |
virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
virtual void endCommentGroup() SK_OVERRIDE; |
-private: |
+protected: |
SkTDArray<SkCanvas*> fList; |
class Iter; |
+private: |
typedef SkCanvas INHERITED; |
}; |