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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleUnits.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/editing/VisibleUnits.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
index 948c7ddd0068a107c1d6ce903f0b45f13a1cc92b..bb04d0963a195ce802fbebcc1956f3ad06b4ecda 100644
--- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
@@ -2451,7 +2451,8 @@ static InlineBoxPosition computeInlineBoxPositionTemplate(
return InlineBoxPosition(inlineBox, caretOffset);
}
- if (layoutObject && layoutObject->style()->unicodeBidi() == Plaintext) {
+ if (layoutObject &&
+ layoutObject->style()->unicodeBidi() == EUnicodeBidi::kPlaintext) {
if (inlineBox->bidiLevel() < level)
return InlineBoxPosition(inlineBox, inlineBox->caretLeftmostOffset());
return InlineBoxPosition(inlineBox, inlineBox->caretRightmostOffset());

Powered by Google App Engine
This is Rietveld 408576698