Index: Source/core/paint/GridPainter.cpp |
diff --git a/Source/core/paint/GridPainter.cpp b/Source/core/paint/GridPainter.cpp |
index fdc690a20b250a59ca14d8bd433d8fb2f6d5e56f..d9e2bffd10f2fb98cebe2df7fc9920fba08421cd 100644 |
--- a/Source/core/paint/GridPainter.cpp |
+++ b/Source/core/paint/GridPainter.cpp |
@@ -74,16 +74,16 @@ void GridPainter::paintChildren(PaintInfo& paintInfo, const LayoutPoint& paintOf |
if (current == previous) |
continue; |
- paintChild(current, paintInfo, paintOffset); |
+ paintChild(*current, paintInfo, paintOffset); |
previous = current; |
} |
} |
-void GridPainter::paintChild(RenderBox* child, PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
+void GridPainter::paintChild(RenderBox& child, PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
- LayoutPoint childPoint = m_renderGrid.flipForWritingModeForChild(child, paintOffset); |
- if (!child->hasSelfPaintingLayer() && !child->isFloating()) |
- child->paint(paintInfo, childPoint); |
+ LayoutPoint childPoint = m_renderGrid.flipForWritingModeForChild(&child, paintOffset); |
+ if (!child.hasSelfPaintingLayer() && !child.isFloating()) |
+ child.paint(paintInfo, childPoint); |
} |
} // namespace blink |