Index: third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
index dd4b46f1b56a985c7a8e63a7da4b7495902cde77..fa14c3f7fbe9a6e6c102202316092b4d98dbdd70 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
@@ -46,7 +46,7 @@ void LayoutFieldset::computePreferredLogicalWidths() |
int legendMinWidth = legend->minPreferredLogicalWidth(); |
Length legendMarginLeft = legend->style()->marginLeft(); |
- Length legendMarginRight = legend->style()->marginLeft(); |
+ Length legendMarginRight = legend->style()->marginRight(); |
if (legendMarginLeft.isFixed()) |
legendMinWidth += legendMarginLeft.value(); |