Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_text_fragment.h

Issue 2365083002: Make NGFragment to own NGPhysicalFragment (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
};

Powered by Google App Engine
This is Rietveld 408576698