Index: third_party/WebKit/Source/core/paint/TextPainterBase.cpp |
diff --git a/third_party/WebKit/Source/core/paint/TextPainterBase.cpp b/third_party/WebKit/Source/core/paint/TextPainterBase.cpp |
index d4255b16e47cc1152d1cae0726ad850588135d26..bdfbac049183ee0915a17e77c45a9decf6bfe115 100644 |
--- a/third_party/WebKit/Source/core/paint/TextPainterBase.cpp |
+++ b/third_party/WebKit/Source/core/paint/TextPainterBase.cpp |
@@ -41,11 +41,11 @@ void TextPainterBase::SetEmphasisMark(const AtomicString& emphasis_mark, |
if (!font_data || emphasis_mark.IsNull()) { |
emphasis_mark_offset_ = 0; |
- } else if (position == kTextEmphasisPositionOver) { |
+ } else if (position == TextEmphasisPosition::kOver) { |
emphasis_mark_offset_ = -font_data->GetFontMetrics().Ascent() - |
font_.EmphasisMarkDescent(emphasis_mark); |
} else { |
- DCHECK(position == kTextEmphasisPositionUnder); |
+ DCHECK(position == TextEmphasisPosition::kUnder); |
emphasis_mark_offset_ = font_data->GetFontMetrics().Descent() + |
font_.EmphasisMarkAscent(emphasis_mark); |
} |