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

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

Issue 1406613002: For some vector icons, get the size from the vector definition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/browser_non_client_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
index 796c56ddc7a04663c8fae9a5abf954703c08506b..d0b5d24f553746a5e9bf404f7223e4416f5f37e1 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
@@ -57,7 +57,7 @@ gfx::ImageSkia BrowserNonClientFrameView::GetOTRAvatarIcon() const {
return *GetThemeProviderForProfile()->GetImageSkiaNamed(IDR_OTR_ICON);
const SkColor icon_color = color_utils::PickContrastingColor(
SK_ColorWHITE, gfx::kChromeIconGrey, GetFrameColor());
- return gfx::CreateVectorIcon(gfx::VectorIconId::INCOGNITO, 24, icon_color);
+ return gfx::CreateVectorIcon(gfx::VectorIconId::INCOGNITO, icon_color);
}
SkColor BrowserNonClientFrameView::GetToolbarTopSeparatorColor() const {

Powered by Google App Engine
This is Rietveld 408576698