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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc

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.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
index 1f3c4d01136612d5d0e3b0ead30f3940b26eb9aa..cf99563b25553911c110a83b8f17ce39cc5e38e8 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
@@ -51,7 +51,7 @@ NGConstraintSpace::NGConstraintSpace(
exclusions_(exclusions),
clearance_offset_(clearance_offset) {}
-NGConstraintSpace* NGConstraintSpace::CreateFromLayoutObject(
+RefPtr<NGConstraintSpace> NGConstraintSpace::CreateFromLayoutObject(
const LayoutBox& box) {
auto writing_mode = FromPlatformWritingMode(box.styleRef().getWritingMode());
bool parallel_containing_block = IsParallelWritingMode(

Powered by Google App Engine
This is Rietveld 408576698