| Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc
|
| index b2bf548821100a8d0f01558a6965f1bdadb83e63..df640a85215e06d7a80a739f199b51c105e40801 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/layout/ng/inline/ng_inline_item.h"
|
|
|
| +#include "core/layout/LayoutInline.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "platform/fonts/CharacterRange.h"
|
| #include "platform/fonts/shaping/ShapeResultBuffer.h"
|
| @@ -123,6 +124,16 @@ void NGInlineItem::GetFallbackFonts(
|
| shape_result_->FallbackFonts(fallback_fonts);
|
| }
|
|
|
| +bool NGInlineItem::HasStartEdge() const {
|
| + DCHECK(Type() == kOpenTag || Type() == kCloseTag);
|
| + return !GetLayoutObject()->IsInlineElementContinuation();
|
| +}
|
| +
|
| +bool NGInlineItem::HasEndEdge() const {
|
| + DCHECK(Type() == kOpenTag || Type() == kCloseTag);
|
| + return !ToLayoutInline(GetLayoutObject())->Continuation();
|
| +}
|
| +
|
| NGInlineItemRange::NGInlineItemRange(Vector<NGInlineItem>* items,
|
| unsigned start_index,
|
| unsigned end_index)
|
|
|