Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 8e426087baa275cacbc5b03ae21569988874c1b9..9bb367b5970be943bd0611e1243ce60ae707f26f 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -709,8 +709,7 @@ base::string16 BookmarkBarView::CreateToolTipForURLAndTitle(
const base::string16& title,
Profile* profile) {
const views::TooltipManager* tooltip_manager = widget->GetTooltipManager();
- int max_width = tooltip_manager->GetMaxWidth(screen_loc,
- widget->GetNativeView());
+ int max_width = tooltip_manager->GetMaxWidth(screen_loc);
const gfx::FontList tt_fonts = tooltip_manager->GetFontList();
base::string16 result;
« no previous file with comments | « chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc ('k') | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698