Index: third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h |
index 6341b033d3bc29175d5344cf0522a98846ba2b4f..2fcb3a79bc41a9e7962d1e257a27f6c17dd7b44f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h |
@@ -73,11 +73,16 @@ struct PaintChunk { |
// The paint properties which apply to this chunk. |
PaintChunkProperties properties; |
- // The total bounds of this paint chunk's contents. |
+ // The total bounds of this paint chunk's contents, in coordinate space of |
chrishtr
2016/08/26 18:10:51
nit: "in the coordinate space..."
Also, no need t
Xianzhu
2016/08/26 18:39:23
Done.
|
+ // the containing GraphicsLayer (SPv1) or the containing transformation node (SPv2). |
FloatRect bounds; |
// True if the bounds are filled entirely with opaque contents. |
bool knownToBeOpaque; |
+ |
+ // SPv2 only. Rectangles that need to be rerasterized in this chunk, in coordinate |
chrishtr
2016/08/26 18:10:51
nit: "re-rasterized" "in the coordinate space..."
Xianzhu
2016/08/26 18:39:23
Done.
|
+ // space of the containing transformation node. |
+ Vector<FloatRect> rasterInvalidationRects; |
}; |
inline bool operator==(const PaintChunk& a, const PaintChunk& b) |
@@ -87,7 +92,8 @@ inline bool operator==(const PaintChunk& a, const PaintChunk& b) |
&& a.id == b.id |
&& a.properties == b.properties |
&& a.bounds == b.bounds |
- && a.knownToBeOpaque == b.knownToBeOpaque; |
+ && a.knownToBeOpaque == b.knownToBeOpaque |
+ && a.rasterInvalidationRects == b.rasterInvalidationRects; |
} |
inline bool operator!=(const PaintChunk& a, const PaintChunk& b) |