Index: ui/message_center/views/notification_view.cc |
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc |
index b1b346e186e6659fb1126155fa5fd7a638afbf2f..32aedfb240001b49b3176b9773a55078a049c53a 100644 |
--- a/ui/message_center/views/notification_view.cc |
+++ b/ui/message_center/views/notification_view.cc |
@@ -529,12 +529,10 @@ base::string16 NotificationView::FormatContextMessage( |
if (notification.UseOriginAsContextMessage()) { |
const GURL url = notification.origin_url(); |
DCHECK(url.is_valid()); |
- // TODO(palmer): Find a way to get the Profile's real languages. |
- // crbug.com/496965. |
- return gfx::ElideText(url_formatter::FormatUrlForSecurityDisplayOmitScheme( |
- url, std::string()), |
- views::Label().font_list(), kContextMessageViewWidth, |
- gfx::ELIDE_HEAD); |
+ return gfx::ElideText( |
+ url_formatter::FormatUrlForSecurityDisplayOmitScheme(url), |
+ views::Label().font_list(), kContextMessageViewWidth, |
+ gfx::ELIDE_HEAD); |
} |
return gfx::TruncateString(notification.context_message(), |