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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h
index d6f0cf1919..37caa8a43d 100644
--- a/src/core/SkPicturePlayback.h
+++ b/src/core/SkPicturePlayback.h
@@ -273,7 +273,7 @@ private:
struct ReplacementInfo {
size_t fStart;
size_t fStop;
- SkIPoint fPos;
+ SkPoint fPos;
SkBitmap* fBM;
const SkPaint* fPaint; // Note: this object doesn't own the paint
};
@@ -293,13 +293,14 @@ private:
void freeAll();
-#ifdef SK_DEBUG
+ #ifdef SK_DEBUG
void validate() const;
-#endif
+ #endif
SkTDArray<ReplacementInfo> fReplacements;
};
+
// Replace all the draw ops in the replacement ranges in 'replacements' with
// the associated drawBitmap call
// Draw replacing cannot be enabled at the same time as draw limiting