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

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

Issue 1308433003: Dirty line boxes correctly when a float gets layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-9-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBlockFlowLine.cpp
diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp
index 2e0ecfd1d1912619178738cb31b94b400cad526b..77c6656f3981fdf33291fa5d194d91a5ee82645a 100644
--- a/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -1549,7 +1549,7 @@ void LayoutBlockFlow::layoutInlineChildren(bool relayoutChildren, LayoutUnit& pa
layoutState.floats().append(FloatWithRect(box));
if (box->needsLayout()) {
box->layout();
- dirtyLinesFromChangedChild(o);
+ markLinesDirtyInBlockRange(toLayoutBox(o)->logicalTop(), toLayoutBox(o)->logicalBottom());
rhogan 2015/08/21 13:15:29 Oops, I should use |box| here. I'll address that w
}
} else if (isFullLayout || o->needsLayout()) {
// Replaced element.
« no previous file with comments | « LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-9-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698