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

Unified Diff: Source/core/layout/LayoutBlockFlowLine.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/LayoutBlockFlowLine.cpp
diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp
index aa2a79e52e7b21b4307c6c768efb511789fcbe49..b564168728417011e48a7f49a2b381b9a3c46558 100644
--- a/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -1695,7 +1695,7 @@ RootInlineBox* LayoutBlockFlow::determineStartPosition(LineLayoutState& layoutSt
if (layoutState.isFullLayout()) {
// If we encountered a new float and have inline children, mark ourself to force us to issue paint invalidations.
if (layoutState.hasInlineChild() && !selfNeedsLayout()) {
- setNeedsLayoutAndFullPaintInvalidation(MarkOnlyThis);
+ setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::Unknown, MarkOnlyThis);
esprehn 2015/03/23 20:19:43 This is from inside an already running layout
pdr. 2015/03/24 03:56:18 This should be okay. We have a similar situation w
setShouldDoFullPaintInvalidation();
}

Powered by Google App Engine
This is Rietveld 408576698