| 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 2c6b97f151c2803b41cbd38d6e2d3d594924b3e8..685b0925f8b5401cdd93eb7b831b4f82067bb851 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutButton.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutButton.h
|
| @@ -37,7 +37,7 @@ public:
|
| const char* name() const override { return "LayoutButton"; }
|
| bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutButton || LayoutFlexibleBox::isOfType(type); }
|
|
|
| - bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); }
|
| + bool canBeSelectionLeaf() const override { return node() && hasEditableStyle(*node()); }
|
|
|
| void addChild(LayoutObject* newChild, LayoutObject *beforeChild = nullptr) override;
|
| void removeChild(LayoutObject*) override;
|
|
|