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

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

Issue 1176833002: Removing FindLegendOption (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixing nits Created 5 years, 6 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/layout/LayoutFieldset.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FieldsetPainter.cpp
diff --git a/Source/core/paint/FieldsetPainter.cpp b/Source/core/paint/FieldsetPainter.cpp
index 201a1dc3af04e4942ff472f384948943ef891f45..f8bcf9ecbe4af767fad4fa2ab9b77991f5837ae8 100644
--- a/Source/core/paint/FieldsetPainter.cpp
+++ b/Source/core/paint/FieldsetPainter.cpp
@@ -19,7 +19,7 @@ void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, c
return;
LayoutRect paintRect(paintOffset, m_layoutFieldset.size());
- LayoutBox* legend = m_layoutFieldset.findLegend();
+ LayoutBox* legend = m_layoutFieldset.findInFlowLegend();
if (!legend)
return BoxPainter(m_layoutFieldset).paintBoxDecorationBackground(paintInfo, paintOffset);
@@ -76,7 +76,7 @@ void FieldsetPainter::paintMask(const PaintInfo& paintInfo, const LayoutPoint& p
return;
LayoutRect paintRect = LayoutRect(paintOffset, m_layoutFieldset.size());
- LayoutBox* legend = m_layoutFieldset.findLegend();
+ LayoutBox* legend = m_layoutFieldset.findInFlowLegend();
if (!legend)
return BoxPainter(m_layoutFieldset).paintMask(paintInfo, paintOffset);
« no previous file with comments | « Source/core/layout/LayoutFieldset.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698