Chromium Code Reviews| 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 6bc0bca7fd92d3b04011dc2e395f5339c3a36929..e67698ae53c34374846181d52162ca34f6a7c9ef 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 TextDirection { RTL, LTR }; |
| +enum class TextDirection : unsigned { Rtl, Ltr }; |
|
sashab
2016/12/07 01:59:43
Main change is here
|
| inline bool isLeftToRightDirection(TextDirection direction) { |
| - return direction == LTR; |
| + return direction == TextDirection::Ltr; |
| } |
| } |