Chromium Code Reviews| Index: Source/core/layout/PaintInfo.h |
| diff --git a/Source/core/layout/PaintInfo.h b/Source/core/layout/PaintInfo.h |
| index b8d121236972fe0363af9304be40278c7cb4da12..a555d1aaffe94e6050146acfd83159616d29a55e 100644 |
| --- a/Source/core/layout/PaintInfo.h |
| +++ b/Source/core/layout/PaintInfo.h |
| @@ -41,13 +41,13 @@ |
| namespace blink { |
| class RenderInline; |
| -class LayoutLayerModelObject; |
| +class RenderBoxModelObject; |
| class LayoutObject; |
| struct PaintInfo { |
| PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior, |
| LayoutObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlineObjects = 0, |
| - const LayoutLayerModelObject* newPaintContainer = 0) |
| + const RenderBoxModelObject* newPaintContainer = 0) |
| : context(newContext) |
| , rect(newRect) |
| , phase(newPhase) |
| @@ -83,7 +83,7 @@ struct PaintInfo { |
| DisplayItem::Type displayItemTypeForClipping() const { return DisplayItem::paintPhaseToClipBoxType(phase); } |
| - const LayoutLayerModelObject* paintContainer() const { return m_paintContainer; } |
| + const RenderBoxModelObject* paintContainer() const { return m_paintContainer; } |
| ListHashSet<RenderInline*>* outlineObjects() const { return m_outlineObjects; } |
| void setOutlineObjects(ListHashSet<RenderInline*>* objects) { m_outlineObjects = objects; } |
| @@ -96,7 +96,7 @@ struct PaintInfo { |
| LayoutObject* paintingRoot; // used to draw just one element and its visual kids |
| private: |
| - const LayoutLayerModelObject* m_paintContainer; // the layer object that originates the current painting |
| + const RenderBoxModelObject* m_paintContainer; // the layer object that originates the current painting |
|
leviw_travelin_and_unemployed
2015/02/20 19:37:02
Update this comment?
Julien - ping for review
2015/02/23 23:57:16
Done.
|
| ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that should be painted by a block with inline children |
| }; |