Index: third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h |
index bf34c3cc9d3ce4227ef0d0238ae4884141d7345c..9b9eb9dc524482b11a574667925c1e15845940e2 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h |
@@ -23,7 +23,7 @@ class CORE_EXPORT NGTextFragment final : public NGFragmentBase { |
: NGFragmentBase(writing_mode, direction, physical_text_fragment) {} |
String Text() const { |
- return toNGPhysicalTextFragment(physical_fragment_)->Text(); |
+ return toNGPhysicalTextFragment(physical_fragment_.get())->Text(); |
} |
}; |