Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1425)

Unified Diff: Source/core/paint/InlinePainter.cpp

Issue 585943004: Move painting code from RenderLineBoxList to LineBoxListPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/LineBoxListPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/InlinePainter.cpp
diff --git a/Source/core/paint/InlinePainter.cpp b/Source/core/paint/InlinePainter.cpp
index 505205960e7b67e6701fff0696cd7430a91d309c..d8708834faad5f7bcb49ed0a10d38556b6e63374 100644
--- a/Source/core/paint/InlinePainter.cpp
+++ b/Source/core/paint/InlinePainter.cpp
@@ -6,6 +6,7 @@
#include "core/paint/InlinePainter.h"
#include "core/paint/BoxPainter.h"
+#include "core/paint/LineBoxListPainter.h"
#include "core/paint/ObjectPainter.h"
#include "core/rendering/GraphicsContextAnnotator.h"
#include "core/rendering/PaintInfo.h"
@@ -19,7 +20,7 @@ namespace blink {
void InlinePainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderInline);
- m_renderInline.lineBoxes()->paint(&m_renderInline, paintInfo, paintOffset);
+ LineBoxListPainter(*m_renderInline.lineBoxes()).paint(&m_renderInline, paintInfo, paintOffset);
}
void InlinePainter::paintOutline(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/LineBoxListPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698