Index: chrome/browser/ui/cocoa/external_protocol_dialog.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/external_protocol_dialog.mm (revision 69274) |
+++ chrome/browser/ui/cocoa/external_protocol_dialog.mm (working copy) |
@@ -5,6 +5,7 @@ |
#import "chrome/browser/ui/cocoa/external_protocol_dialog.h" |
#include "app/l10n_util_mac.h" |
+#include "app/text_elider.h" |
#include "base/message_loop.h" |
#include "base/metrics/histogram.h" |
#include "base/string_util.h" |
@@ -61,8 +62,8 @@ |
const int kMaxUrlWithoutSchemeSize = 256; |
std::wstring elided_url_without_scheme; |
- ElideString(ASCIIToWide(url_.possibly_invalid_spec()), |
- kMaxUrlWithoutSchemeSize, &elided_url_without_scheme); |
+ gfx::ElideString(ASCIIToWide(url_.possibly_invalid_spec()), |
+ kMaxUrlWithoutSchemeSize, &elided_url_without_scheme); |
NSString* urlString = l10n_util::GetNSStringFWithFixup( |
IDS_EXTERNAL_PROTOCOL_INFORMATION, |