Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index 00bcbef2755d12dfe9f78fd2e8981a6a15c56d23..98c0e00c8c2f23f69da338bd0550d224d843c15d 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -366,7 +366,7 @@ const SkPicture::OperationList& SkPicture::OperationList::InvalidList() { |
return gInvalid; |
} |
-const SkPicture::OperationList& SkPicture::EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) { |
+const SkPicture::OperationList& SkPicture::EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) const { |
SkASSERT(NULL != fPlayback && NULL == fRecord); |
if (NULL != fPlayback) { |
return fPlayback->getActiveOps(queryRect); |
@@ -381,7 +381,7 @@ size_t SkPicture::EXPERIMENTAL_curOpID() const { |
return 0; |
} |
-void SkPicture::draw(SkCanvas* surface, SkDrawPictureCallback* callback) { |
+void SkPicture::draw(SkCanvas* surface, SkDrawPictureCallback* callback) const { |
SkASSERT(NULL != fPlayback && NULL == fRecord); |
if (NULL != fPlayback) { |
fPlayback->draw(*surface, callback); |