Chromium Code Reviews| Index: Source/core/rendering/compositing/CompositedLayerMapping.h |
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.h b/Source/core/rendering/compositing/CompositedLayerMapping.h |
| index b2027caff6dbb27d7882ee18549ac7ede32df65d..04db3fcb04c4936ad09ea8be8574a973285d6ef4 100644 |
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.h |
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.h |
| @@ -48,12 +48,16 @@ struct GraphicsLayerPaintInfo { |
| // Offset describing where this squashed RenderLayer paints into the shared GraphicsLayer backing. |
| IntSize offsetFromRenderer; |
| + bool offsetFromRendererSet; |
| + |
| LayoutSize subpixelAccumulation; |
| GraphicsLayerPaintingPhase paintingPhase; |
| bool isBackgroundLayer; |
| + GraphicsLayerPaintInfo() : offsetFromRendererSet(false) { } |
|
Ian Vollick
2014/06/13 02:42:48
How would you feel about adding an initializer for
chrishtr
2014/06/13 04:24:24
Done.
|
| + |
| bool isEquivalentForSquashing(const GraphicsLayerPaintInfo& other) |
| { |
| // FIXME: offsetFromRenderer and compositedBounds should not be checked here, because |