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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_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_constraint_space_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
index c4e5bf1a6b98eecbcd73a86b94336fa997fd0e55..40d95ad0f183aa550333da45352d0f5981671bd2 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h
@@ -63,7 +63,7 @@ class CORE_EXPORT NGConstraintSpaceBuilder final {
// - Has its size is determined by its parent layout (flex, abs-pos).
//
// NGWritingMode specifies the writing mode of the generated space.
- NGConstraintSpace* ToConstraintSpace(NGWritingMode);
+ RefPtr<NGConstraintSpace> ToConstraintSpace(NGWritingMode);
private:
// Relative to parent_writing_mode_.

Powered by Google App Engine
This is Rietveld 408576698