Index: Source/core/paint/BlockPainter.h |
diff --git a/Source/core/paint/BlockPainter.h b/Source/core/paint/BlockPainter.h |
index efe8f6755d5a6ad28649a24bad57287f5e4a5150..92b380380be77d862ec85599a8d45a9ef4ce13a2 100644 |
--- a/Source/core/paint/BlockPainter.h |
+++ b/Source/core/paint/BlockPainter.h |
@@ -14,7 +14,7 @@ class LayoutRect; |
class RenderFlexibleBox; |
class RenderBlock; |
class RenderBox; |
-class RenderObject; |
+class LayoutObject; |
class BlockPainter { |
public: |
@@ -30,7 +30,7 @@ public: |
// inline-block elements paint all phases atomically. This function ensures that. Certain other elements |
// (grid items, flex items) require this behavior as well, and this function exists as a helper for them. |
// It is expected that the caller will call this function independent of the value of paintInfo.phase. |
- static void paintAsInlineBlock(RenderObject&, const PaintInfo&, const LayoutPoint&); |
+ static void paintAsInlineBlock(LayoutObject&, const PaintInfo&, const LayoutPoint&); |
static void paintChildrenOfFlexibleBox(RenderFlexibleBox&, const PaintInfo&, const LayoutPoint& paintOffset); |
static void paintInlineBox(InlineBox&, const PaintInfo&, const LayoutPoint& paintOffset); |