Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h |
| index fd35597eb23f5732736a97a6f8c30a2bbbc21afa..8eec3959dd31cec49ec5315cbee608325ca72c98 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h |
| @@ -77,7 +77,7 @@ class PLATFORM_EXPORT EndCompositingDisplayItem 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 called when '#ifdef NDEBUG'
|
| return otherType == kBeginCompositing; |
| } |