Index: ui/message_center/views/bounded_label.cc |
diff --git a/ui/message_center/views/bounded_label.cc b/ui/message_center/views/bounded_label.cc |
index a634a29dd01b9ad167d25f61d8b68700603f7b8f..ca9f0f954124f917db750820afb83a621aadab70 100644 |
--- a/ui/message_center/views/bounded_label.cc |
+++ b/ui/message_center/views/bounded_label.cc |
@@ -199,11 +199,7 @@ int InnerBoundedLabel::GetTextFlags() { |
if (SkColorGetA(background_color()) != 0xFF) |
flags |= gfx::Canvas::NO_SUBPIXEL_RENDERING; |
- const base::i18n::TextDirection direction = |
- base::i18n::GetFirstStrongCharacterDirection(text()); |
- if (direction == base::i18n::RIGHT_TO_LEFT) |
- return flags | gfx::Canvas::FORCE_RTL_DIRECTIONALITY; |
- return flags | gfx::Canvas::FORCE_LTR_DIRECTIONALITY; |
+ return flags | gfx::Canvas::TEXT_ALIGN_TO_HEAD; |
} |
void InnerBoundedLabel::ClearCaches() { |