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

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

Issue 1610233002: [Reland] Remove PaintInfo's paintingRoot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp b/third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp
index 996b6231678a9d5230caa5a20822c8d29f358144..4e9510bc7c5fb4e9f9bc7b48ef8010fae88e5dbb 100644
--- a/third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/RootInlineBoxPainter.cpp
@@ -13,8 +13,7 @@ namespace blink {
void RootInlineBoxPainter::paintEllipsisBox(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom) const
{
- if (m_rootInlineBox.hasEllipsisBox() && paintInfo.shouldPaintWithinRoot(LineLayoutPaintShim::layoutObjectFrom(m_rootInlineBox.lineLayoutItem())) && m_rootInlineBox.lineLayoutItem().style()->visibility() == VISIBLE
- && paintInfo.phase == PaintPhaseForeground)
+ if (m_rootInlineBox.hasEllipsisBox() && m_rootInlineBox.lineLayoutItem().style()->visibility() == VISIBLE && paintInfo.phase == PaintPhaseForeground)
m_rootInlineBox.ellipsisBox()->paint(paintInfo, paintOffset, lineTop, lineBottom);
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/ReplacedPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698