Index: src/pdf/SkPDFShader.cpp |
diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp |
index 60992c3bf6dfe06281827ea08fdde120e5f43418..94bdf2d78d994b637c483ab9da58f8a1235bfbb4 100644 |
--- a/src/pdf/SkPDFShader.cpp |
+++ b/src/pdf/SkPDFShader.cpp |
@@ -499,6 +499,7 @@ private: |
}; |
class SkPDFFunctionShader : public SkPDFDict, public SkPDFShader { |
+ SK_DECLARE_INST_COUNT(SkPDFFunctionShader) |
public: |
explicit SkPDFFunctionShader(SkPDFShader::State* state); |
virtual ~SkPDFFunctionShader() { |
@@ -524,6 +525,7 @@ private: |
SkAutoTDelete<const SkPDFShader::State> fState; |
SkPDFStream* makePSFunction(const SkString& psCode, SkPDFArray* domain); |
+ typedef SkPDFDict INHERITED; |
}; |
/** |