Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Unified Diff: Source/core/rendering/LayoutRepainter.cpp

Issue 348073002: Rename InvalidationSelfLayout to InvalidationFull (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698