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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/LayerPainter.cpp ('k') | Source/core/paint/SVGInlineFlowBoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/RootInlineBoxPainter.cpp
diff --git a/Source/core/paint/RootInlineBoxPainter.cpp b/Source/core/paint/RootInlineBoxPainter.cpp
index 09a95bc2dcd47df679dbb3bb1fa6f27bd0abfff6..4fcdfd2eba45d13fed2bfbbd7fe482d6d3f5dbdf 100644
--- a/Source/core/paint/RootInlineBoxPainter.cpp
+++ b/Source/core/paint/RootInlineBoxPainter.cpp
@@ -13,7 +13,7 @@ namespace blink {
void RootInlineBoxPainter::paintEllipsisBox(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom) const
{
- if (m_rootInlineBox.hasEllipsisBox() && paintInfo.shouldPaintWithinRoot(&m_rootInlineBox.renderer()) && m_rootInlineBox.renderer().style()->visibility() == VISIBLE
+ if (m_rootInlineBox.hasEllipsisBox() && paintInfo.shouldPaintWithinRoot(&m_rootInlineBox.layoutObject()) && m_rootInlineBox.layoutObject().style()->visibility() == VISIBLE
&& paintInfo.phase == PaintPhaseForeground)
m_rootInlineBox.ellipsisBox()->paint(paintInfo, paintOffset, lineTop, lineBottom);
}
« no previous file with comments | « Source/core/paint/LayerPainter.cpp ('k') | Source/core/paint/SVGInlineFlowBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698