| Index: Source/core/rendering/LayoutRepainter.cpp
|
| diff --git a/Source/core/rendering/LayoutRepainter.cpp b/Source/core/rendering/LayoutRepainter.cpp
|
| index b8dee6f2762a5f8b1427de6174e0ced4e6444ab6..bbfab8265d7150ddf78bef9146e46cb5787dacf5 100644
|
| --- a/Source/core/rendering/LayoutRepainter.cpp
|
| +++ b/Source/core/rendering/LayoutRepainter.cpp
|
| @@ -55,10 +55,15 @@ bool LayoutRepainter::repaintAfterLayout()
|
| if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
|
| return false;
|
|
|
| + if (!m_checkForRepaint)
|
| + return false;
|
| +
|
| // Hits in compositing/video/video-controls-layer-creation.html
|
| DisableCompositingQueryAsserts disabler;
|
|
|
| - return m_checkForRepaint ? m_object.invalidatePaintAfterLayoutIfNeeded(m_repaintContainer, m_object.selfNeedsLayout(), m_oldBounds, m_oldOffset) : false;
|
| + return m_object.invalidatePaintAfterLayoutIfNeeded(m_repaintContainer,
|
| + m_object.selfNeedsLayout() ? InvalidationFull : InvalidationIncremental,
|
| + m_oldBounds, m_oldOffset);
|
| }
|
|
|
| } // namespace WebCore
|
|
|