| Index: third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
| index 451c3f3550db1f98901ea889d8adabb6d25bdb49..63416fbac121ae7ddd5939e20aeef537cd685d85 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
|
| @@ -47,9 +47,9 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment {
|
|
|
| DEFINE_TYPE_CASTS(NGPhysicalTextFragment,
|
| NGPhysicalFragment,
|
| - text,
|
| - text->Type() == NGPhysicalFragment::kFragmentText,
|
| - text.Type() == NGPhysicalFragment::kFragmentText);
|
| + fragment,
|
| + fragment->IsText(),
|
| + fragment.IsText());
|
|
|
| } // namespace blink
|
|
|
|
|