Index: Source/core/layout/LayoutFieldset.cpp |
diff --git a/Source/core/layout/LayoutFieldset.cpp b/Source/core/layout/LayoutFieldset.cpp |
index a08e0042a20f7d8665bfd883a20687113cd23c26..47c3ce6af56993184b5fa49089e00f617954aa23 100644 |
--- a/Source/core/layout/LayoutFieldset.cpp |
+++ b/Source/core/layout/LayoutFieldset.cpp |
@@ -125,10 +125,10 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, |
return legend; |
} |
-LayoutBox* LayoutFieldset::findLegend(FindLegendOption option) const |
+LayoutBox* LayoutFieldset::findLegend() const |
{ |
for (LayoutObject* legend = firstChild(); legend; legend = legend->nextSibling()) { |
- if (option == IgnoreFloatingOrOutOfFlow && legend->isFloatingOrOutOfFlowPositioned()) |
+ if (legend->isFloatingOrOutOfFlowPositioned()) |
continue; |
if (isHTMLLegendElement(legend->node())) |