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

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

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: rebased Created 3 years, 10 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_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 bb33b0f1acc920d40815f6d07966e9a5bf4dc27e..ad9540e9ffa6ff687d202d71916a231e1937b470 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
@@ -16,27 +16,14 @@ namespace blink {
class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment {
public:
- NGPhysicalTextFragment(
- LayoutObject* layout_object,
- const NGInlineNode* node,
- unsigned item_index,
- unsigned start_offset,
- unsigned end_offset,
- NGPhysicalSize size,
- NGPhysicalSize overflow,
- PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>>&
- out_of_flow_descendants,
- Vector<NGStaticPosition> out_of_flow_positions,
- Vector<Persistent<NGFloatingObject>>& unpositioned_floats,
- Vector<Persistent<NGFloatingObject>>& positioned_floats)
- : NGPhysicalFragment(layout_object,
- size,
- overflow,
- kFragmentText,
- out_of_flow_descendants,
- out_of_flow_positions,
- unpositioned_floats,
- positioned_floats),
+ NGPhysicalTextFragment(LayoutObject* layout_object,
+ const NGInlineNode* node,
+ unsigned item_index,
+ unsigned start_offset,
+ unsigned end_offset,
+ NGPhysicalSize size,
+ NGPhysicalSize overflow)
+ : NGPhysicalFragment(layout_object, size, overflow, kFragmentText),
node_(node),
item_index_(item_index),
start_offset_(start_offset),

Powered by Google App Engine
This is Rietveld 408576698