Index: ui/base/text/text_elider.cc |
diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc |
index 62ad7d062b68cd937715e3098ceae2cdfe1fd56c..bfd7f900d73dac5e9cf09b71faf43b8d5d9b8555 100644 |
--- a/ui/base/text/text_elider.cc |
+++ b/ui/base/text/text_elider.cc |
@@ -225,8 +225,8 @@ string16 ElideUrl(const GURL& url, |
if (available_pixel_width <= 0) |
return url_string; |
- // If non-standard or not file type, return plain eliding. |
- if (!(url.SchemeIsFile() || url.IsStandard())) |
+ // If non-standard, return plain eliding. |
+ if (!url.IsStandard()) |
return ElideText(url_string, font, available_pixel_width, ELIDE_AT_END); |
// Now start eliding url_string to fit within available pixel width. |