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

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

Issue 1025213002: Begin tracking why layout is invalidated (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/LayoutVideo.cpp
diff --git a/Source/core/layout/LayoutVideo.cpp b/Source/core/layout/LayoutVideo.cpp
index bd8a402100154a38fe492abcba105182a823ed0e..0e33e9ad160a46a2e9de3e0d20354cbdcf7e15a4 100644
--- a/Source/core/layout/LayoutVideo.cpp
+++ b/Source/core/layout/LayoutVideo.cpp
@@ -74,7 +74,7 @@ void LayoutVideo::updateIntrinsicSize()
setIntrinsicSize(size);
setPreferredLogicalWidthsDirty();
- setNeedsLayoutAndFullPaintInvalidation();
+ setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SizeChanged);
}
LayoutSize LayoutVideo::calculateIntrinsicSize()

Powered by Google App Engine
This is Rietveld 408576698