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

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

Issue 2900633003: Make TextEmphasisMark 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 0fa8c6889a18b8e6a5f198511b3545b5e1f8c238..1bc92336609bb81a9ffc1755d2087e1a8ef976eb 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -490,7 +490,7 @@ bool InlineTextBox::GetEmphasisMarkPosition(
TextEmphasisPosition& emphasis_position) const {
// This function returns true if there are text emphasis marks and they are
// suppressed by ruby text.
- if (style.GetTextEmphasisMark() == kTextEmphasisMarkNone)
+ if (style.GetTextEmphasisMark() == TextEmphasisMark::kNone)
return false;
emphasis_position = style.GetTextEmphasisPosition();
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698