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_. |