Index: Source/core/paint/BlockPainter.cpp |
diff --git a/Source/core/paint/BlockPainter.cpp b/Source/core/paint/BlockPainter.cpp |
index a30889f0e291941424b5c8f6826ea20d86183cc5..3137ea3a498aa3ada0883573a39d54ab7799dfb0 100644 |
--- a/Source/core/paint/BlockPainter.cpp |
+++ b/Source/core/paint/BlockPainter.cpp |
@@ -12,6 +12,7 @@ |
#include "core/page/Page.h" |
#include "core/paint/BoxPainter.h" |
#include "core/paint/InlinePainter.h" |
+#include "core/paint/LineBoxListPainter.h" |
#include "core/rendering/GraphicsContextAnnotator.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderBlock.h" |
@@ -390,7 +391,7 @@ void BlockPainter::paintContents(PaintInfo& paintInfo, const LayoutPoint& paintO |
return; |
if (m_renderBlock.childrenInline()) { |
- m_renderBlock.lineBoxes()->paint(&m_renderBlock, paintInfo, paintOffset); |
+ LineBoxListPainter(*m_renderBlock.lineBoxes()).paint(&m_renderBlock, paintInfo, paintOffset); |
} else { |
PaintPhase newPhase = (paintInfo.phase == PaintPhaseChildOutlines) ? PaintPhaseOutline : paintInfo.phase; |
newPhase = (newPhase == PaintPhaseChildBlockBackgrounds) ? PaintPhaseChildBlockBackground : newPhase; |