diff options
Diffstat (limited to 'app/text_elider.h')
-rw-r--r-- | app/text_elider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/text_elider.h b/app/text_elider.h index 8a5653d..36d12ae 100644 --- a/app/text_elider.h +++ b/app/text_elider.h @@ -32,10 +32,10 @@ namespace gfx { // as an LTR string (using base::i18n::WrapStringWithLTRFormatting()) so that it // is displayed properly in an RTL context. Please refer to // http://crbug.com/6487 for more information. -std::wstring ElideUrl(const GURL& url, - const gfx::Font& font, - int available_pixel_width, - const std::wstring& languages); +string16 ElideUrl(const GURL& url, + const gfx::Font& font, + int available_pixel_width, + const std::wstring& languages); // Elides |text| to fit in |available_pixel_width|. If |elide_in_middle| is // set the ellipsis is placed in the middle of the string; otherwise it is |