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

Unified Diff: Source/core/css/invalidation/DescendantInvalidationSetTest.cpp

Issue 637383004: Fix crash from DescendantInvalidationSet::show(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/css/invalidation/DescendantInvalidationSet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/invalidation/DescendantInvalidationSetTest.cpp
diff --git a/Source/core/css/invalidation/DescendantInvalidationSetTest.cpp b/Source/core/css/invalidation/DescendantInvalidationSetTest.cpp
index f2735ec1e3dd17c73549e83eebf80ff175fcb22a..e201215175de8c0d520426c11f441128ea74a3c4 100644
--- a/Source/core/css/invalidation/DescendantInvalidationSetTest.cpp
+++ b/Source/core/css/invalidation/DescendantInvalidationSetTest.cpp
@@ -61,4 +61,12 @@ TEST(DescendantInvalidationSetTest, SubtreeInvalid_Combine_2)
ASSERT_TRUE(set1->isEmpty());
}
+#ifndef NDEBUG
+TEST(DescendantInvalidationSetTest, ShowDebug)
+{
+ RefPtrWillBeRawPtr<DescendantInvalidationSet> set = DescendantInvalidationSet::create();
+ set->show();
+}
+#endif // NDEBUG
+
} // namespace
« no previous file with comments | « Source/core/css/invalidation/DescendantInvalidationSet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698