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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

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
Index: third_party/WebKit/Source/core/layout/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 22c4160fc06104568b74dfe2f44f7a07a76ceb69..d2a23f8e56c4748fcf8562ac9c44e6bd0009c743 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -207,7 +207,9 @@ class CORE_EXPORT LayoutText : public LayoutObject {
bool ContainsReversedText() const { return contains_reversed_text_; }
- bool IsSecure() const { return Style()->TextSecurity() != TSNONE; }
+ bool IsSecure() const {
+ return Style()->TextSecurity() != ETextSecurity::kNone;
+ }
void MomentarilyRevealLastTypedCharacter(
unsigned last_typed_character_offset);
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698