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

Unified Diff: Source/core/layout/LayoutObject.h

Issue 1026823002: [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/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index 89bc6dcc4e991f9e3f987381e63c16546707dc03..0dca8f69d349ac1080c8d1fe661a0245ffa6500b 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -250,6 +250,8 @@ public:
void assertSubtreeClearedPaintInvalidationState() const
{
+ if (RuntimeEnabledFeatures::slimmingPaintEnabled())
esprehn 2015/03/25 05:06:36 This means bugs can sneak in, if you use a separat
+ return;
for (const LayoutObject* renderer = this; renderer; renderer = renderer->nextInPreOrder())
renderer->assertRendererClearedPaintInvalidationState();
}

Powered by Google App Engine
This is Rietveld 408576698