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

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

Issue 1119663002: Making Unicode character names consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment fixes 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/LayoutDeprecatedFlexibleBox.cpp
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
index af6bcd29047812fc2045daacafb031ccf0485a2c..0d2a12ac57a03f61884c7cb91320b6d09e77ccec 100644
--- a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
+++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
@@ -895,9 +895,9 @@ void LayoutDeprecatedFlexibleBox::applyLineClamp(FlexBoxIterator& iterator, bool
if (!lastVisibleLine)
continue;
- DEFINE_STATIC_LOCAL(AtomicString, ellipsisStr, (&horizontalEllipsis, 1));
+ DEFINE_STATIC_LOCAL(AtomicString, ellipsisStr, (&horizontalEllipsisCharacter, 1));
const Font& font = style(numVisibleLines == 1)->font();
- float totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsis, 1, styleRef(), style()->direction()));
+ float totalWidth = font.width(constructTextRun(this, font, &horizontalEllipsisCharacter, 1, styleRef(), style()->direction()));
// See if this width can be accommodated on the last visible line
LayoutBlockFlow& destBlock = lastVisibleLine->block();

Powered by Google App Engine
This is Rietveld 408576698