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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc

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/ng/ng_bidi_paragraph.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc
index 4f81ef3a245e65b5d4c048487ccc9b8613340f0d..ce87586d59f5f7000ffe7f7aed17401b0b03f943 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc
@@ -21,7 +21,7 @@ bool NGBidiParagraph::SetParagraph(const String& text,
ICUError error;
ubidi_setPara(
ubidi_, text.characters16(), text.length(),
- block_style->unicodeBidi() == Plaintext
+ block_style->unicodeBidi() == EUnicodeBidi::kPlaintext
? UBIDI_DEFAULT_LTR
: (block_style->direction() == TextDirection::kRtl ? UBIDI_RTL
: UBIDI_LTR),

Powered by Google App Engine
This is Rietveld 408576698