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

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

Issue 1583783002: Use IndentTextOrNot instead of a bool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@568851-2
Patch Set: Update Created 4 years, 11 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: 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 7005f7f18e038faadb00551a7c995e91c59447c8..96af591c70826acf8b7934dcaec15ce013705963 100644
--- a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
+++ b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
@@ -32,7 +32,7 @@ void LineBreaker::skipLeadingWhitespace(InlineBidiResolver& resolver, LineInfo&
while (!resolver.position().atEnd() && !requiresLineBox(resolver.position(), lineInfo, LeadingWhitespace)) {
LayoutObject* object = resolver.position().object();
if (object->isOutOfFlowPositioned()) {
- setStaticPositions(m_block, LineLayoutBox(toLayoutBox(object)), width.shouldIndentText());
+ setStaticPositions(m_block, LineLayoutBox(toLayoutBox(object)), width.indentText());
if (object->style()->isOriginalDisplayInlineType()) {
resolver.runs().addRun(createRun(0, 1, LineLayoutItem(object), resolver));
lineInfo.incrementRunsFromLeadingWhitespace();

Powered by Google App Engine
This is Rietveld 408576698