| Index: Source/core/paint/BlockFlowPainter.cpp
|
| diff --git a/Source/core/paint/BlockFlowPainter.cpp b/Source/core/paint/BlockFlowPainter.cpp
|
| index b6190e4ea9d5373c92daf33433067d8f01268436..c0ba126c52df82a769e8e399cef3a5a1ffcd1b1c 100644
|
| --- a/Source/core/paint/BlockFlowPainter.cpp
|
| +++ b/Source/core/paint/BlockFlowPainter.cpp
|
| @@ -27,9 +27,9 @@ void BlockFlowPainter::paintFloats(const PaintInfo& paintInfo, const LayoutPoint
|
| currentPaintInfo.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground;
|
| // FIXME: LayoutPoint version of xPositionForFloatIncludingMargin would make this much cleaner.
|
| LayoutPoint childPoint = m_renderBlockFlow.flipFloatForWritingModeForChild(
|
| - floatingObject, LayoutPoint(paintOffset.x()
|
| - + m_renderBlockFlow.xPositionForFloatIncludingMargin(floatingObject) - floatingObject->renderer()->x(), paintOffset.y()
|
| - + m_renderBlockFlow.yPositionForFloatIncludingMargin(floatingObject) - floatingObject->renderer()->y()));
|
| + *floatingObject, LayoutPoint(paintOffset.x()
|
| + + m_renderBlockFlow.xPositionForFloatIncludingMargin(*floatingObject) - floatingObject->renderer()->x(), paintOffset.y()
|
| + + m_renderBlockFlow.yPositionForFloatIncludingMargin(*floatingObject) - floatingObject->renderer()->y()));
|
| floatingObject->renderer()->paint(currentPaintInfo, childPoint);
|
| if (!preservePhase) {
|
| currentPaintInfo.phase = PaintPhaseChildBlockBackgrounds;
|
|
|