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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_utils.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: Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/tabs/tab_utils.cc » ('j') | ui/gfx/paint_vector_icon.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bookmarks/bookmark_utils.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.cc b/chrome/browser/ui/bookmarks/bookmark_utils.cc
index 7e5560d47aa6d0bcfa876138e68c6c6973d02ef5..4126fce2096a47f95666dd5dbec62a6058e68cf0 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.cc
@@ -93,7 +93,7 @@ BookmarkShortcutDisposition GetBookmarkShortcutDisposition(Profile* profile) {
#if defined(TOOLKIT_VIEWS)
gfx::ImageSkia GetFolderIcon(gfx::VectorIconId id) {
- return gfx::CreateVectorIcon(id, 16, gfx::kChromeIconGrey);
+ return gfx::CreatePrimaryVectorIcon(id, gfx::kChromeIconGrey);
}
#endif
« no previous file with comments | « no previous file | chrome/browser/ui/tabs/tab_utils.cc » ('j') | ui/gfx/paint_vector_icon.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698