| Index: third_party/WebKit/Source/core/layout/LayoutTextFragment.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
|
| index 11f011e34d7c636d181109303bfe92497b5a2547..636c1582613197aed917453da1917406d9753083 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
|
| @@ -42,7 +42,7 @@ public:
|
|
|
| bool isTextFragment() const override { return true; }
|
|
|
| - bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); }
|
| + bool canBeSelectionLeaf() const override { return node() && hasEditableStyle(*node()); }
|
|
|
| unsigned start() const { return m_start; }
|
| unsigned fragmentLength() const { return m_fragmentLength; }
|
|
|