aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPicturePlayback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPicturePlayback.h')
-rw-r--r--src/core/SkPicturePlayback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h
index 2110c71962..9cc2fd34cd 100644
--- a/src/core/SkPicturePlayback.h
+++ b/src/core/SkPicturePlayback.h
@@ -72,7 +72,7 @@ private:
const SkBitmap& getBitmap(SkReader32& reader) {
int index = reader.readInt();
- return (*fBitmaps)[index - 1];
+ return (*fBitmaps)[index];
}
const SkMatrix* getMatrix(SkReader32& reader) {
@@ -179,7 +179,7 @@ private:
int fPictureCount;
SkTypefacePlayback fTFPlayback;
- SkFactoryPlayback* fFactoryPlayback;
+ SkFactoryPlayback* fFactoryPlayback;
#ifdef SK_BUILD_FOR_ANDROID
SkMutex fDrawMutex;
#endif