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

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

Issue 1167543008: Dirty nearby lineboxes if we layout a float rather than trying to work it out later (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 8612a1546630cce35d044065fc0f12a78645a15b..62caa5e9e41b1208bc9ac427f7bf7fe350d0659a 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -2480,7 +2480,7 @@ void LayoutObject::insertedIntoTree()
layer->dirtyVisibleContentStatus();
}
- if (!isFloating() && parent()->childrenInline())
+ if (parent()->childrenInline())
parent()->dirtyLinesFromChangedChild(this);
if (LayoutFlowThread* flowThread = flowThreadContainingBlock())

Powered by Google App Engine
This is Rietveld 408576698