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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineBreaker.cpp

Issue 2483023002: Let positionNewFloats() take a logicalTop parameter. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
index 4d8dae123f60afacfb6cf59cb135fd0a8b93a774..d7fb2789d00a4f4a40a0ca67e6fdf96070c27989 100644
--- a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
+++ b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
@@ -43,7 +43,7 @@ void LineBreaker::skipLeadingWhitespace(InlineBidiResolver& resolver,
}
} else if (lineLayoutItem.isFloating()) {
m_block.insertFloatingObject(LineLayoutBox(lineLayoutItem));
- m_block.positionNewFloats(&width);
+ m_block.positionNewFloats(m_block.logicalHeight(), &width);
}
resolver.position().increment(&resolver);
}

Powered by Google App Engine
This is Rietveld 408576698