Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
index 2cbe177c1ac4a3d5981de62eb38cc2b2b44ed115..301efe469efd2ddaf6d639c9269991f053275b20 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -1538,6 +1538,8 @@ public: |
private: |
UseMixin() |
{ |
+ // Verify that WTF::IsGarbageCollectedType<> works as expected for mixins. |
+ static_assert(WTF::IsGarbageCollectedType<UseMixin>::value, "IsGarbageCollectedType<> sanity check failed for GC mixin."); |
s_traceCount = 0; |
} |
}; |