| Index: chrome/browser/ui/views/external_protocol_dialog.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/external_protocol_dialog.cc (revision 69274)
|
| +++ chrome/browser/ui/views/external_protocol_dialog.cc (working copy)
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "app/l10n_util.h"
|
| #include "app/message_box_flags.h"
|
| +#include "app/text_elider.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/string_util.h"
|
| #include "base/thread.h"
|
| @@ -122,9 +123,9 @@
|
| const int kMaxCommandSize = 256;
|
| std::wstring elided_url_without_scheme;
|
| std::wstring elided_command;
|
| - ElideString(ASCIIToWide(url.possibly_invalid_spec()),
|
| - kMaxUrlWithoutSchemeSize, &elided_url_without_scheme);
|
| - ElideString(command, kMaxCommandSize, &elided_command);
|
| + gfx::ElideString(ASCIIToWide(url.possibly_invalid_spec()),
|
| + kMaxUrlWithoutSchemeSize, &elided_url_without_scheme);
|
| + gfx::ElideString(command, kMaxCommandSize, &elided_command);
|
|
|
| std::wstring message_text = l10n_util::GetStringF(
|
| IDS_EXTERNAL_PROTOCOL_INFORMATION,
|
|
|