Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
index b3cab22b1091c2147fcbceb3ae03c3f7efa2931f..938ab59696ca887233e9b630a073f61645c48e4b 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
@@ -137,6 +137,10 @@ class NGLayoutInlineItem { |
const ComputedStyle* Style() const { return style_; } |
LayoutObject* GetLayoutObject() const { return layout_object_; } |
+ bool IsAtomicInlineLevel() const { |
+ return layout_object_ && layout_object_->isAtomicInlineLevel(); |
+ } |
+ |
void SetEndOffset(unsigned); |
LayoutUnit InlineSize() const; |