| Index: third_party/WebKit/Source/core/layout/LayoutButton.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutButton.h b/third_party/WebKit/Source/core/layout/LayoutButton.h
|
| index 685b0925f8b5401cdd93eb7b831b4f82067bb851..6c227a8ea39035536429dca07fac733e032d2a8a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutButton.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutButton.h
|
| @@ -22,20 +22,20 @@
|
| #define LayoutButton_h
|
|
|
| #include "core/html/HTMLInputElement.h"
|
| -#include "core/layout/LayoutFlexibleBox.h"
|
| +#include "core/layout/LayoutBlockFlow.h"
|
|
|
| namespace blink {
|
|
|
| // LayoutButtons are just like normal flexboxes except that they will generate an anonymous block child.
|
| // For inputs, they will also generate an anonymous LayoutText and keep its style and content up
|
| // to date as the button changes.
|
| -class LayoutButton final : public LayoutFlexibleBox {
|
| +class LayoutButton final : public LayoutBlockFlow {
|
| public:
|
| explicit LayoutButton(Element*);
|
| ~LayoutButton() override;
|
|
|
| const char* name() const override { return "LayoutButton"; }
|
| - bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutButton || LayoutFlexibleBox::isOfType(type); }
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutButton || LayoutBlockFlow::isOfType(type); }
|
|
|
| bool canBeSelectionLeaf() const override { return node() && hasEditableStyle(*node()); }
|
|
|
|
|