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 3dc3a64a90423e9e26b9ff7f8c21561d2e9a85ae..92f49929e1aa41d3586930d3d5d50c50b9c7f09e 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h |
@@ -44,6 +44,12 @@ public: |
// https://crbug.com/499321 |
operator LayoutObject*() const { return m_layoutObject; } |
+ // TODO(dgrogan): Remove this when we replace the operator above with UnspecifiedBoolType. |
+ bool isNull() const |
+ { |
+ return !m_layoutObject; |
+ } |
+ |
bool isEqual(const LayoutObject* layoutObject) const |
{ |
return m_layoutObject == layoutObject; |
@@ -269,6 +275,11 @@ public: |
return m_layoutObject->isSVGInlineText(); |
} |
+ bool isSVGText() const |
+ { |
+ return m_layoutObject->isSVGText(); |
+ } |
+ |
bool isSVGTextPath() const |
{ |
return m_layoutObject->isSVGTextPath(); |