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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp

Issue 2845773002: Make TextDecoration 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
index 503fd0b6246f0f7ff909d4accb82335bf27d951f..85dd4055e8904b34ddb077b98900776baad6cfa4 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -1035,9 +1035,9 @@ TextStyle AXLayoutObject::GetTextStyle() const {
text_style |= kTextStyleBold;
if (style->GetFontDescription().Style() == kFontStyleItalic)
text_style |= kTextStyleItalic;
- if (style->GetTextDecoration() == kTextDecorationUnderline)
+ if (style->GetTextDecoration() == TextDecoration::kUnderline)
text_style |= kTextStyleUnderline;
- if (style->GetTextDecoration() == kTextDecorationLineThrough)
+ if (style->GetTextDecoration() == TextDecoration::kLineThrough)
text_style |= kTextStyleLineThrough;
return static_cast<TextStyle>(text_style);
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698