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

Unified Diff: ash/frame/caption_buttons/frame_caption_button.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: ash/frame/caption_buttons/frame_caption_button.cc
diff --git a/ash/frame/caption_buttons/frame_caption_button.cc b/ash/frame/caption_buttons/frame_caption_button.cc
index 07ced1fdd84644a6a9ba2c610b812adbb8ab216a..1705edcb56d927cec85b51206f95fc670fd7fb6f 100644
--- a/ash/frame/caption_buttons/frame_caption_button.cc
+++ b/ash/frame/caption_buttons/frame_caption_button.cc
@@ -58,8 +58,7 @@ void FrameCaptionButton::SetImage(CaptionButtonIcon icon,
Animate animate,
gfx::VectorIconId icon_image_id) {
gfx::ImageSkia new_icon_image = gfx::CreateVectorIcon(
- icon_image_id, 12,
- use_light_images_ ? SK_ColorWHITE : gfx::kChromeIconGrey);
+ icon_image_id, use_light_images_ ? SK_ColorWHITE : gfx::kChromeIconGrey);
// The early return is dependent on |animate| because callers use SetImage()
// with ANIMATE_NO to progress the crossfade animation to the end.
« no previous file with comments | « no previous file | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | ui/views/controls/menu/menu_image_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698