| 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 48b234fadf809732a01dda1a10ee65b3e560ecd2..7a8c8cca1142beea526ae9b5e260d3eca7d6afe0 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
|
| @@ -18,11 +18,13 @@ bool NGBidiParagraph::SetParagraph(const String& text,
|
| DCHECK(!ubidi_);
|
| ubidi_ = ubidi_open();
|
| ICUError error;
|
| - ubidi_setPara(ubidi_, text.characters16(), text.length(),
|
| - block_style->unicodeBidi() == Plaintext
|
| - ? UBIDI_DEFAULT_LTR
|
| - : (block_style->direction() == RTL ? UBIDI_RTL : UBIDI_LTR),
|
| - nullptr, &error);
|
| + ubidi_setPara(
|
| + ubidi_, text.characters16(), text.length(),
|
| + block_style->unicodeBidi() == Plaintext
|
| + ? UBIDI_DEFAULT_LTR
|
| + : (block_style->direction() == TextDirection::Rtl ? UBIDI_RTL
|
| + : UBIDI_LTR),
|
| + nullptr, &error);
|
| if (U_FAILURE(error)) {
|
| NOTREACHED();
|
| ubidi_close(ubidi_);
|
|
|