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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc

Issue 2851543002: Update avatar button to MD (part 1) (Closed)
Patch Set: Created 3 years, 8 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/frame/opaque_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
index c68146b2931e5163674a44b87c5f3adb65cd7543..cbb6bc0b1de8be328ff6a4656569a386d5670258 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -156,7 +156,7 @@ gfx::Size OpaqueBrowserFrameView::GetMinimumSize() const {
}
views::View* OpaqueBrowserFrameView::GetProfileSwitcherView() const {
- return profile_switcher_.view();
+ return profile_switcher_.button();
}
///////////////////////////////////////////////////////////////////////////////
@@ -177,8 +177,8 @@ bool OpaqueBrowserFrameView::IsWithinAvatarMenuButtons(
profile_indicator_icon()->GetMirroredBounds().Contains(point)) {
return true;
}
- if (profile_switcher_.view() &&
- profile_switcher_.view()->GetMirroredBounds().Contains(point)) {
+ if (profile_switcher_.button() &&
+ profile_switcher_.button()->GetMirroredBounds().Contains(point)) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698