Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| index c34902ecec7e5da81b2824dc66d53d77890c1574..f603d96452c7cefd0063463fce7f267283797672 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| @@ -3450,8 +3450,10 @@ void LayoutObject::setMayNeedPaintInvalidationAnimatedBackgroundImage() { |
| void LayoutObject::clearPaintInvalidationFlags() { |
| // paintInvalidationStateIsDirty should be kept in sync with the |
| // booleans that are cleared below. |
| +#ifndef NDEBUG |
| ASSERT(!shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() || |
| paintInvalidationStateIsDirty()); |
|
Alexander Alekseev
2016/11/18 22:32:15
paintInvalidationStateIsDirty() is defined only if
|
| +#endif |
| clearShouldDoFullPaintInvalidation(); |
| m_bitfields.setChildShouldCheckForPaintInvalidation(false); |
| m_bitfields.setMayNeedPaintInvalidation(false); |