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

Unified Diff: third_party/WebKit/Source/platform/text/TextDirection.h

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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/platform/text/TextDirection.h
diff --git a/third_party/WebKit/Source/platform/text/TextDirection.h b/third_party/WebKit/Source/platform/text/TextDirection.h
index e67698ae53c34374846181d52162ca34f6a7c9ef..efdc2b3c67c78b665109613f17105c37524d3f7c 100644
--- a/third_party/WebKit/Source/platform/text/TextDirection.h
+++ b/third_party/WebKit/Source/platform/text/TextDirection.h
@@ -28,10 +28,10 @@
namespace blink {
-enum class TextDirection : unsigned { Rtl, Ltr };
+enum class TextDirection : unsigned { kRtl, kLtr };
inline bool isLeftToRightDirection(TextDirection direction) {
- return direction == TextDirection::Ltr;
+ return direction == TextDirection::kLtr;
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/Character.cpp ('k') | third_party/WebKit/Source/platform/text/TextRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698