aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPictureUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrPictureUtils.h')
-rw-r--r--src/gpu/GrPictureUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrPictureUtils.h b/src/gpu/GrPictureUtils.h
index b8a7814ccb..a280a16ce3 100644
--- a/src/gpu/GrPictureUtils.h
+++ b/src/gpu/GrPictureUtils.h
@@ -27,8 +27,8 @@ public:
// the translation needed to map the layer's top-left point to the origin.
SkMatrix fCTM;
// The offset that needs to be passed to drawBitmap to correctly
- // position the pre-rendered layer.
- SkPoint fOffset;
+ // position the pre-rendered layer. It is in device space.
+ SkIPoint fOffset;
// The paint to use on restore. NULL if the paint was not copyable (and
// thus that this layer should not be pulled forward).
const SkPaint* fPaint;