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

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

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
« no previous file with comments | « Source/core/layout/LayoutHTMLCanvas.h ('k') | Source/core/layout/LayoutImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutHTMLCanvas.cpp
diff --git a/Source/core/layout/LayoutHTMLCanvas.cpp b/Source/core/layout/LayoutHTMLCanvas.cpp
index 1b3511156ee7bc6e4ac3a9c4c2c64a84ff4822e1..7b648d4c25045272f20e5e18decea6e3f0f98205 100644
--- a/Source/core/layout/LayoutHTMLCanvas.cpp
+++ b/Source/core/layout/LayoutHTMLCanvas.cpp
@@ -81,7 +81,7 @@ void LayoutHTMLCanvas::canvasSizeChanged()
setNeedsLayout();
}
-PaintInvalidationReason LayoutHTMLCanvas::invalidatePaintIfNeeded(const PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& paintInvalidationContainer)
+PaintInvalidationReason LayoutHTMLCanvas::invalidatePaintIfNeeded(PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& paintInvalidationContainer)
{
PaintInvalidationReason reason = LayoutBox::invalidatePaintIfNeeded(paintInvalidationState, paintInvalidationContainer);
HTMLCanvasElement* element = toHTMLCanvasElement(node());
« no previous file with comments | « Source/core/layout/LayoutHTMLCanvas.h ('k') | Source/core/layout/LayoutImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698