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

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

Issue 2868783005: Make ETextSecurity 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/StyleRareInheritedData.cpp ('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..d9153a1b686a336501e0c9955157ad3574be472d 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -964,15 +964,15 @@ String AXLayoutObject::GetText() const {
UChar mask_character = 0;
switch (style->TextSecurity()) {
- case TSNONE:
+ case ETextSecurity::kNone:
break; // Fall through to the non-password branch.
- case TSDISC:
+ case ETextSecurity::kDisc:
mask_character = kBulletCharacter;
break;
- case TSCIRCLE:
+ case ETextSecurity::kCircle:
mask_character = kWhiteBulletCharacter;
break;
- case TSSQUARE:
+ case ETextSecurity::kSquare:
mask_character = kBlackSquareCharacter;
break;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698