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

Unified Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp

Issue 1326093003: Disable paint invalidation state assert in invalidateScrollCornerRect() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
index d60881bca20e76efa59897efde23d827a611e561..a8fc6806cfa9d788197770e98dce21c519c3fdff 100644
--- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
@@ -251,6 +251,8 @@ void DeprecatedPaintLayerScrollableArea::invalidateScrollCornerRect(const IntRec
ASSERT(!layerForScrollCorner());
if (m_scrollCorner) {
+ // FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
+ DisablePaintInvalidationStateAsserts disabler;
m_scrollCorner->invalidatePaintRectangle(LayoutRect(rect));
if (RuntimeEnabledFeatures::slimmingPaintEnabled())
box().invalidateDisplayItemClientForNonCompositingDescendantsOf(*m_scrollCorner);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698