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

Unified Diff: Source/core/layout/LayoutBoxModelObject.cpp

Issue 1025603002: Revert of [S.P.] Don't draw frames of animated images that are offscreen. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
Index: Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp
index ee6b932bd7a3fddbe5e5b35f97bf8f4f80d70ee9..7f7e52dab4b00821c2d0e9d6cc0a33e551e49f5e 100644
--- a/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/Source/core/layout/LayoutBoxModelObject.cpp
@@ -264,12 +264,7 @@
// ASSERT(&newPaintInvalidationContainer == containerForPaintInvalidation());
PaintInvalidationReason reason = invalidatePaintIfNeeded(paintInvalidationState, newPaintInvalidationContainer);
- if (reason != PaintInvalidationDelayedFull) {
- clearPaintInvalidationState(paintInvalidationState);
- } else {
- // Mark this object as needing paint invalidation again in the next frame, due to the request for delayed paint invalidation.
- setShouldDoFullPaintInvalidation();
- }
+ clearPaintInvalidationState(paintInvalidationState);
PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, newPaintInvalidationContainer);
if (reason == PaintInvalidationLocationChange)

Powered by Google App Engine
This is Rietveld 408576698