Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
index 9e26c789618c4b748130d2d75e13de056c3da2e2..7e6c8ea348734d8fe9aa2be62f9fdc671891f9f5 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -713,6 +713,7 @@ base::string16 BookmarkBarView::CreateToolTipForURLAndTitle( |
if (!result.empty()) |
result.push_back('\n'); |
+#if !defined(OS_ANDROID) |
// We need to explicitly specify the directionality of the URL's text to |
// make sure it is treated as an LTR string when the context is RTL. For |
// example, the URL "http://www.yahoo.com/" appears as |
@@ -725,6 +726,7 @@ base::string16 BookmarkBarView::CreateToolTipForURLAndTitle( |
url_formatter::ElideUrl(url, tt_fonts, max_width, languages)); |
elided_url = base::i18n::GetDisplayStringInLTRDirectionality(elided_url); |
result.append(elided_url); |
+#endif |
} |
return result; |
} |