Index: third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
index ca6332983408aabaef98d37ef99f7ceb98eb9c32..27be9fb22d656594f627ea02533434ccd545802e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
+++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h |
@@ -146,7 +146,7 @@ public: |
template <class DerivedElementType, typename... Args> |
DerivedElementType& allocateAndConstruct(Args&&... args) |
{ |
- static_assert(WTF::IsSubclass<DerivedElementType, BaseElementType>::value, |
+ static_assert(std::is_base_of<BaseElementType, DerivedElementType>::value, |
"Must use subclass of BaseElementType."); |
static_assert(alignment % WTF_ALIGN_OF(DerivedElementType) == 0, |
"Derived type requires stronger alignment."); |