| Index: ui/gfx/canvas_win.cc
|
| diff --git a/ui/gfx/canvas_win.cc b/ui/gfx/canvas_win.cc
|
| index f38dcccb0d2f9f14326dea4fc24776d0167e7655..2c9668e1eff4ea0757cc6593916fb10e55a1d8a3 100644
|
| --- a/ui/gfx/canvas_win.cc
|
| +++ b/ui/gfx/canvas_win.cc
|
| @@ -130,8 +130,10 @@ int ComputeFormatFlags(int flags, const string16& text) {
|
| // Note that if the caller is explicitly requesting displaying the text
|
| // using RTL directionality then we respect that and pass DT_RTLREADING to
|
| // ::DrawText even if the locale is LTR.
|
| - int force_rtl = (flags & gfx::Canvas::FORCE_RTL_DIRECTIONALITY);
|
| - int force_ltr = (flags & gfx::Canvas::FORCE_LTR_DIRECTIONALITY);
|
| + //
|
| + // TODO(asvitkine): Deprecate this file...
|
| + int force_rtl = 0; // (flags & gfx::Canvas::FORCE_RTL_DIRECTIONALITY);
|
| + int force_ltr = 0; // (flags & gfx::Canvas::FORCE_LTR_DIRECTIONALITY);
|
| bool is_rtl = base::i18n::IsRTL();
|
| bool string_contains_strong_rtl_chars =
|
| base::i18n::StringContainsStrongRTLChars(text);
|
|
|