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

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

Issue 2724133003: [LayoutNG] Switch NGConstraintSpace to being RefCounted. (Closed)
Patch Set: moar. 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_line_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
index f8569c1538ec34d820565bb7d18ac3c78b9467fe..2727f04d0ef863aef24f7b23b2211d5867ced652 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.h
@@ -140,7 +140,7 @@ class CORE_EXPORT NGLineBuilder final {
LineBoxData*);
Persistent<NGInlineNode> inline_box_;
- Persistent<const NGConstraintSpace> constraint_space_;
+ const NGConstraintSpace* constraint_space_; // Not owned as STACK_ALLOCATED.
Vector<RefPtr<NGPhysicalFragment>, 32> fragments_;
Vector<NGLogicalOffset, 32> offsets_;
Vector<LineBoxData, 32> line_box_data_list_;

Powered by Google App Engine
This is Rietveld 408576698