Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
| index c4055305d05a65b6c8d44a429254bf0d71c3af1d..71c592328d03201932b5e870a5f21be9091e9f67 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
| @@ -64,7 +64,7 @@ class PLATFORM_EXPORT EndClipDisplayItem final : public PairedEndDisplayItem { |
| WebDisplayItemList*) const override; |
| private: |
| -#if ENABLE(ASSERT) |
| +#ifdef NDEBUG |
| bool isEndAndPairedWith(DisplayItem::Type otherType) const final { |
| return DisplayItem::isClipType(otherType); |
|
Alexander Alekseev
2016/11/18 22:32:15
This is declared in the base class only if DCHECK_
|
| } |