| 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 7766abd3897668ed0cbabddcbf52d8119b7d0f7c..4768383f5be022928a5ccc4fa0f5d645eab0f4c0 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
|
| @@ -217,10 +217,8 @@ LayoutBox* LayoutFieldset::findInFlowLegend() const {
|
| if (legend->isFloatingOrOutOfFlowPositioned())
|
| continue;
|
|
|
| - if (isHTMLLegendElement(legend->node())) {
|
| - if (legend->isBox())
|
| - return toLayoutBox(legend);
|
| - }
|
| + if (isHTMLLegendElement(legend->node()))
|
| + return toLayoutBox(legend);
|
| }
|
| return nullptr;
|
| }
|
|
|