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

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

Issue 1025213002: Begin tracking why layout is invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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/LayoutGrid.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('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 7b648d4c25045272f20e5e18decea6e3f0f98205..39c33923ec3961799d5e1725dfcc95e270f8f0e5 100644
--- a/Source/core/layout/LayoutHTMLCanvas.cpp
+++ b/Source/core/layout/LayoutHTMLCanvas.cpp
@@ -78,7 +78,7 @@ void LayoutHTMLCanvas::canvasSizeChanged()
return;
if (!selfNeedsLayout())
- setNeedsLayout();
+ setNeedsLayout(LayoutInvalidationReason::SizeChanged);
}
PaintInvalidationReason LayoutHTMLCanvas::invalidatePaintIfNeeded(PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& paintInvalidationContainer)
« no previous file with comments | « Source/core/layout/LayoutGrid.cpp ('k') | Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698