Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h |
index 0b6b7d2f8be451a76cd46aa7326fe34bce936e00..bf7efa8ac98b4d03951fecb089338f73aee2f5de 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h |
@@ -59,11 +59,11 @@ class ShapeCache { |
SmallStringKey() |
: m_length(s_emptyValueLength), |
- m_direction(static_cast<unsigned>(TextDirection::Ltr)) {} |
+ m_direction(static_cast<unsigned>(TextDirection::kLtr)) {} |
SmallStringKey(WTF::HashTableDeletedValueType) |
: m_length(s_deletedValueLength), |
- m_direction(static_cast<unsigned>(TextDirection::Ltr)) {} |
+ m_direction(static_cast<unsigned>(TextDirection::kLtr)) {} |
template <typename CharacterType> |
SmallStringKey(CharacterType* characters, |
@@ -188,7 +188,7 @@ class ShapeCache { |
uint32_t key = run[0]; |
// All current codepointsin UTF-32 are bewteen 0x0 and 0x10FFFF, |
// as such use bit 32 to indicate direction. |
- if (run.direction() == TextDirection::Rtl) |
+ if (run.direction() == TextDirection::kRtl) |
key |= (1u << 31); |
SingleCharMap::AddResult addResult = m_singleCharMap.add(key, entry); |
isNewEntry = addResult.isNewEntry; |