| Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| index ad3fb8d8822fc7a0607a972463e1ed18e0c14a64..5945de94ee928be1d653db9620bd4fa65d96e451 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| @@ -70,7 +70,7 @@ public:
|
| template <typename DisplayItemClass, typename... Args>
|
| void createAndAppend(Args&&... args)
|
| {
|
| - static_assert(WTF::IsSubclass<DisplayItemClass, DisplayItem>::value,
|
| + static_assert(WTF::IsBaseOf<DisplayItem, DisplayItemClass>::value,
|
| "Can only createAndAppend subclasses of DisplayItem.");
|
| static_assert(sizeof(DisplayItemClass) <= kMaximumDisplayItemSize,
|
| "DisplayItem subclass is larger than kMaximumDisplayItemSize.");
|
|
|