Index: src/core/SkPictureData.h |
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h |
index 3e3ab59a444f48312b6797d2326c857a91c0a650..df898cf9f2ef578da8dcdc86f33dd9808cd9eebb 100644 |
--- a/src/core/SkPictureData.h |
+++ b/src/core/SkPictureData.h |
@@ -89,6 +89,8 @@ public: |
bool containsBitmaps() const; |
+ int opCount() const { return fContentInfo.numOperations(); } |
+ |
const SkData* opData() const { return fOpData; } |
protected: |
@@ -128,7 +130,7 @@ public: |
return &(*fPaints)[index - 1]; |
} |
- void initIterator(SkPictureStateTree::Iterator* iter, |
+ void initIterator(SkPictureStateTree::Iterator* iter, |
const SkTDArray<void*>& draws, |
SkCanvas* canvas) const { |
if (NULL != fStateTree) { |