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 37750db20c649197de1de4147ee4cba6b0f52656..0674f56412c788d1a06a7cd7f77f07c3178756fb 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(); |