| Index: third_party/WebKit/Source/platform/fonts/shaping/SimpleShaper.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/SimpleShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/SimpleShaper.cpp
|
| index 07ea532c4be994cf530374459eb811949916efa5..1b92dfa06dd2edd13f60b28ee7646743e2afd194 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/SimpleShaper.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/SimpleShaper.cpp
|
| @@ -99,7 +99,7 @@ float SimpleShaper::adjustSpacing(float width, const CharacterData& charData)
|
| m_runWidthSoFar += m_expansionPerOpportunity;
|
| }
|
| if (m_textRun.allowsTrailingExpansion()
|
| - || (m_textRun.ltr() && charData.characterOffset + charData.clusterLength < static_cast<size_t>(m_textRun.length()))
|
| + || (m_textRun.ltr() && charData.characterOffset + charData.clusterLength < m_textRun.length())
|
| || (m_textRun.rtl() && charData.characterOffset)) {
|
| m_expansion -= m_expansionPerOpportunity;
|
| width += m_expansionPerOpportunity;
|
|
|