Index: chrome/browser/ui/views/location_bar/origin_chip_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/origin_chip_view.cc b/chrome/browser/ui/views/location_bar/origin_chip_view.cc |
index e8b4d668acec73d5b0628a66b6dea4162f744dcc..1e41a8d25b0b4a2db75397d5261d63c2a45d4ca8 100644 |
--- a/chrome/browser/ui/views/location_bar/origin_chip_view.cc |
+++ b/chrome/browser/ui/views/location_bar/origin_chip_view.cc |
@@ -164,12 +164,12 @@ OriginChipView::OriginChipView(LocationBarView* location_bar_view, |
ev_label_ = new views::Label(base::string16(), GetFontList()); |
ev_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
- ev_label_->SetElideBehavior(views::Label::NO_ELIDE); |
+ ev_label_->SetElideBehavior(gfx::TRUNCATE); |
AddChildView(ev_label_); |
host_label_ = new views::Label(base::string16(), GetFontList()); |
host_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
- host_label_->SetElideBehavior(views::Label::NO_ELIDE); |
+ host_label_->SetElideBehavior(gfx::TRUNCATE); |
AddChildView(host_label_); |
fade_in_animation_.SetTweenType(gfx::Tween::LINEAR_OUT_SLOW_IN); |