| Index: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
|
| diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
|
| index a96cf45cf3110a3d95928e187bd295b197796343..a17d558ca2c0d9e88f7e8849230b80c679a40b1c 100644
|
| --- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
|
| +++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/layout/LayoutObjectInlines.h"
|
| +#include "core/layout/LayoutText.h"
|
|
|
| #include "platform/LayoutUnit.h"
|
| #include "wtf/Allocator.h"
|
| @@ -316,6 +317,11 @@ public:
|
| return m_layoutObject->isText();
|
| }
|
|
|
| + bool isEmptyText() const
|
| + {
|
| + return isText() && toLayoutText(m_layoutObject)->text().isEmpty();
|
| + }
|
| +
|
| bool hasLayer() const
|
| {
|
| return m_layoutObject->hasLayer();
|
|
|