Index: Source/core/layout/LayoutFieldset.cpp |
diff --git a/Source/core/layout/LayoutFieldset.cpp b/Source/core/layout/LayoutFieldset.cpp |
index a08e0042a20f7d8665bfd883a20687113cd23c26..1cdd5b12477f27b0e240e80d5670800a07009e26 100644 |
--- a/Source/core/layout/LayoutFieldset.cpp |
+++ b/Source/core/layout/LayoutFieldset.cpp |
@@ -42,25 +42,6 @@ LayoutFieldset::LayoutFieldset(Element* element) |
{ |
} |
-void LayoutFieldset::computePreferredLogicalWidths() |
-{ |
- LayoutBlockFlow::computePreferredLogicalWidths(); |
- if (LayoutBox* legend = findLegend()) { |
- int legendMinWidth = legend->minPreferredLogicalWidth(); |
- |
- Length legendMarginLeft = legend->style()->marginLeft(); |
- Length legendMarginRight = legend->style()->marginLeft(); |
- |
- if (legendMarginLeft.isFixed()) |
- legendMinWidth += legendMarginLeft.value(); |
- |
- if (legendMarginRight.isFixed()) |
- legendMinWidth += legendMarginRight.value(); |
- |
- m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, legendMinWidth + borderAndPaddingWidth()); |
- } |
-} |
- |
LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope&) |
{ |
LayoutBox* legend = findLegend(); |