aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLayerInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkLayerInfo.h')
-rw-r--r--src/core/SkLayerInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkLayerInfo.h b/src/core/SkLayerInfo.h
index add57d780c..a47c3f1199 100644
--- a/src/core/SkLayerInfo.h
+++ b/src/core/SkLayerInfo.h
@@ -28,6 +28,9 @@ public:
const SkPicture* fPicture;
// The device space bounds of this layer.
SkRect fBounds;
+ // If not-empty, the optional bounds parameter passed in to the saveLayer
+ // call.
+ SkRect fSrcBounds;
// The pre-matrix begins as the identity and accumulates the transforms
// of the containing SkPictures (if any). This matrix state has to be
// part of the initial matrix during replay so that it will be