Index: include/core/SkClipStack.h |
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h |
index 79789dcc268d80ad3c3b62bdd436063d5d2e45a0..3f79f92a5b08f295168c8f301f889dfa76f74407 100644 |
--- a/include/core/SkClipStack.h |
+++ b/include/core/SkClipStack.h |
@@ -24,7 +24,7 @@ class SkCanvasClipVisitor; |
// (i.e., the fSaveCount in force when it was added). Restores are thus |
// implemented by removing clips from fDeque that have an fSaveCount larger |
// then the freshly decremented count. |
-class SK_API SkClipStack { |
+class SK_API SkClipStack : public SkNVRefCnt<SkClipStack> { |
public: |
enum BoundsType { |
// The bounding box contains all the pixels that can be written to |