| 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..224c60f8d193c425f65d2d372657b11bd684a538 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(WTF::IsBaseOf<BaseElementType, DerivedElementType>::value,
|
| "Must use subclass of BaseElementType.");
|
| static_assert(alignment % WTF_ALIGN_OF(DerivedElementType) == 0,
|
| "Derived type requires stronger alignment.");
|
|
|