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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.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_absolute_utils_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
index d74585bc488d636a28662d663736b216212afebc..acdfb59f876020c7ec45bc0c557764f086959855 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
@@ -82,10 +82,10 @@ class NGAbsoluteUtilsTest : public ::testing::Test {
RefPtr<ComputedStyle> style_;
NGLogicalSize container_size_;
- Persistent<NGConstraintSpace> ltr_space_;
- Persistent<NGConstraintSpace> rtl_space_;
- Persistent<NGConstraintSpace> vertical_lr_space_;
- Persistent<NGConstraintSpace> vertical_rl_space_;
+ RefPtr<NGConstraintSpace> ltr_space_;
+ RefPtr<NGConstraintSpace> rtl_space_;
+ RefPtr<NGConstraintSpace> vertical_lr_space_;
+ RefPtr<NGConstraintSpace> vertical_rl_space_;
};
TEST_F(NGAbsoluteUtilsTest, Horizontal) {

Powered by Google App Engine
This is Rietveld 408576698