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

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

Issue 2620873002: Renamed EUnicodeBidi to just UnicodeBidi (Closed)
Patch Set: Rebase 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 3024a8263bc181eaa8baa3a7382e280c715f3c49..6673130780c2159fdaa1159943777529853ed935 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() == EUnicodeBidi::kPlaintext) {
+ if (rightAligned && style()->getUnicodeBidi() == UnicodeBidi::kPlaintext) {
if (inlineBox->bidiLevel() % 2 != 1)
rightAligned = false;
}
@@ -1095,7 +1095,7 @@ void LayoutText::computePreferredLogicalWidths(
BidiCharacterRun* run;
TextDirection textDirection = styleToUse.direction();
if ((is8Bit() && textDirection == TextDirection::kLtr) ||
- isOverride(styleToUse.unicodeBidi())) {
+ isOverride(styleToUse.getUnicodeBidi())) {
run = 0;
} else {
TextRun textRun(text());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMenuList.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTextControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698