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

Unified Diff: Source/core/rendering/line/BreakingContext.cpp

Issue 302233002: Revert of Empty inline elements always get a line box. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/rendering/line/BreakingContext.cpp
diff --git a/Source/core/rendering/line/BreakingContext.cpp b/Source/core/rendering/line/BreakingContext.cpp
index 513b2c3beaa96ea8faba3b616792b6bc8e257fc3..4f24e2b9b31c3b4faa1ae0f4d9291cb38b38134c 100644
--- a/Source/core/rendering/line/BreakingContext.cpp
+++ b/Source/core/rendering/line/BreakingContext.cpp
@@ -48,7 +48,7 @@
// Sanity check our midpoints.
m_lineMidpointState.checkMidpoints(m_lineBreak);
- m_trailingObjects.updateMidpointsForTrailingObjects(m_lineMidpointState, m_lineBreak, TrailingObjects::CollapseFirstSpace);
+ m_trailingObjects.updateMidpointsForTrailingBoxes(m_lineMidpointState, m_lineBreak, TrailingObjects::CollapseFirstSpace);
// We might have made lineBreak an iterator that points past the end
// of the object. Do this adjustment to make it point to the start

Powered by Google App Engine
This is Rietveld 408576698