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

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

Issue 2895883002: Make TextEmphasisPosition an enum class. (Closed)
Patch Set: Rebase Created 3 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: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index 350cb97c1cbd11be2b0dc5ee215b6632dd4fe52c..0fa8c6889a18b8e6a5f198511b3545b5e1f8c238 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -495,7 +495,7 @@ bool InlineTextBox::GetEmphasisMarkPosition(
emphasis_position = style.GetTextEmphasisPosition();
// Ruby text is always over, so it cannot suppress emphasis marks under.
- if (emphasis_position == kTextEmphasisPositionUnder)
+ if (emphasis_position == TextEmphasisPosition::kUnder)
return true;
LineLayoutBox containing_block = GetLineLayoutItem().ContainingBlock();
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp ('k') | third_party/WebKit/Source/core/paint/TextPainterBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698