Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
| index 8ebdbd1e3b58b9a394d2b156b0f5f9bb84ae82d7..bbcbae630ad2d9b89e34221fc00bf68436ca57c2 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
| @@ -50,7 +50,7 @@ class PLATFORM_EXPORT EndClipPathDisplayItem final |
| WebDisplayItemList*) const override; |
| private: |
| -#if ENABLE(ASSERT) |
| +#ifdef NDEBUG |
| bool isEndAndPairedWith(DisplayItem::Type otherType) const final { |
|
Alexander Alekseev
2016/11/18 22:32:15
This is declared in the base class only if DCHECK_
|
| return otherType == kBeginClipPath; |
| } |