summaryrefslogtreecommitdiffstats
path: root/cc/resources/picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/picture.h')
-rw-r--r--cc/resources/picture.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 4761ca6..78833d1 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -75,8 +75,10 @@ class CC_EXPORT Picture
bool IsSuitableForGpuRasterization() const;
- // Apply this scale and raster the negated region into the canvas. See comment
- // in PicturePileImpl::RasterCommon for explanation on negated content region.
+ // Apply this scale and raster the negated region into the canvas.
+ // |negated_content_region| specifies the region to be clipped out of the
+ // raster operation, i.e., the parts of the canvas which will not get drawn
+ // to.
int Raster(SkCanvas* canvas,
SkDrawPictureCallback* callback,
const Region& negated_content_region,