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

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

Issue 2625553005: Changed EUnicodeBidi to an enum class and renamed its members (Closed)
Patch Set: 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/core/layout/LayoutText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
index 88a17f89c1243747ed87292b32c4fec4af2723e4..3024a8263bc181eaa8baa3a7382e280c715f3c49 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
@@ -794,7 +794,7 @@ LayoutRect LayoutText::localCaretRect(InlineBox* inlineBox,
// for unicode-bidi: plaintext, use inlineBoxBidiLevel() to test the correct
// direction for the cursor.
- if (rightAligned && style()->unicodeBidi() == Plaintext) {
+ if (rightAligned && style()->unicodeBidi() == EUnicodeBidi::kPlaintext) {
if (inlineBox->bidiLevel() % 2 != 1)
rightAligned = false;
}

Powered by Google App Engine
This is Rietveld 408576698