Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm (revision 71854) |
+++ chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm (working copy) |
@@ -4,12 +4,12 @@ |
#import "chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h" |
-#include "app/text_elider.h" |
#import "base/logging.h" |
#include "base/sys_string_conversions.h" |
#import "chrome/browser/ui/cocoa/image_utils.h" |
#import "chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h" |
#include "gfx/font.h" |
+#include "ui/base/text/text_elider.h" |
namespace { |
@@ -92,7 +92,8 @@ |
gfx::Font font(base::SysNSStringToUTF16([font_ fontName]), |
[font_ pointSize]); |
NSString* elided_label = base::SysUTF16ToNSString( |
- ElideText(base::SysNSStringToUTF16(full_label_), font, width_left, true)); |
+ ui::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left, |
+ true)); |
// Use the elided label. |
SetLabel(elided_label); |