Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
| index c4bc1dcd7bdf96640eb76f6ad202c34f5e0d966b..a7ce63c3f0e31d9a4e470c35e76395a34c02e678 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
| @@ -1935,7 +1935,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
| m_previousVisualRect = rect; |
| } |
| -#if DCHECK_IS_ON() |
| +#ifndef NDEBUG |
| virtual bool paintInvalidationStateIsDirty() const { |
|
Alexander Alekseev
2016/11/18 22:32:15
This is called above only if '#ifndef NDEBUG'
|
| return backgroundChangedSinceLastPaintInvalidation() || |
| shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState(); |