Index: chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc |
index ef722e8db27c343305a67bee44bf837ef0539bba..3539669f79e45e35d51b1c5253b580cdfe1d8d5a 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc |
@@ -52,15 +52,15 @@ BookmarkSyncPromoView::BookmarkSyncPromoView(BookmarkBubbleDelegate* delegate) |
views::StyledLabel::RangeStyleInfo link_style = |
views::StyledLabel::RangeStyleInfo::CreateForLink(); |
link_style.font_style = gfx::Font::NORMAL; |
- promo_label->AddStyleRange(ui::Range(offset, offset + link_text.length()), |
+ promo_label->AddStyleRange(gfx::Range(offset, offset + link_text.length()), |
link_style); |
views::StyledLabel::RangeStyleInfo promo_style; |
promo_style.color = kTextColor; |
- ui::Range before_link_range(0, offset); |
+ gfx::Range before_link_range(0, offset); |
if (!before_link_range.is_empty()) |
promo_label->AddStyleRange(before_link_range, promo_style); |
- ui::Range after_link_range(offset + link_text.length(), promo_text.length()); |
+ gfx::Range after_link_range(offset + link_text.length(), promo_text.length()); |
if (!after_link_range.is_empty()) |
promo_label->AddStyleRange(after_link_range, promo_style); |
@@ -72,7 +72,7 @@ BookmarkSyncPromoView::BookmarkSyncPromoView(BookmarkBubbleDelegate* delegate) |
AddChildView(promo_label); |
} |
-void BookmarkSyncPromoView::StyledLabelLinkClicked(const ui::Range& range, |
+void BookmarkSyncPromoView::StyledLabelLinkClicked(const gfx::Range& range, |
int event_flags) { |
delegate_->OnSignInLinkClicked(); |
} |