| Index: src/core/SkPicturePlayback.h
|
| diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h
|
| index d6f0cf19198c5b1f6e1b83668891713d476176d8..ea36ca948b173ba654bcac593cd569e0f883c467 100644
|
| --- a/src/core/SkPicturePlayback.h
|
| +++ b/src/core/SkPicturePlayback.h
|
| @@ -150,10 +150,10 @@ private:
|
| return fPicture->getPath(reader.readInt() - 1);
|
| }
|
|
|
| - SkPicture& getPicture(SkReader32& reader) {
|
| + const SkPicture* getPicture(SkReader32& reader) {
|
| int index = reader.readInt();
|
| SkASSERT(index > 0 && index <= fPictureCount);
|
| - return *fPictureRefs[index - 1];
|
| + return fPictureRefs[index - 1];
|
| }
|
|
|
| const SkPaint* getPaint(SkReader32& reader) {
|
| @@ -246,7 +246,7 @@ private:
|
|
|
| SkData* fOpData; // opcodes and parameters
|
|
|
| - SkPicture** fPictureRefs;
|
| + const SkPicture** fPictureRefs;
|
| int fPictureCount;
|
|
|
| SkBBoxHierarchy* fBoundingHierarchy;
|
|
|