| 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 b62d5391553bd8bbad4b835d8e28fe7bf7d89b18..80ca441f5b889c9a239dd222d6dc434842c6eda5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| @@ -69,7 +69,7 @@ public:
|
| template <typename DisplayItemClass, typename... Args>
|
| void createAndAppend(Args&&... args)
|
| {
|
| - static_assert(WTF::IsSubclass<DisplayItemClass, DisplayItem>::value,
|
| + static_assert(std::is_base_of<DisplayItem, DisplayItemClass>::value,
|
| "Can only createAndAppend subclasses of DisplayItem.");
|
| static_assert(sizeof(DisplayItemClass) <= kMaximumDisplayItemSize,
|
| "DisplayItem subclass is larger than kMaximumDisplayItemSize.");
|
|
|