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

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: 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/bookmarks/bookmark_utils.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.cc b/chrome/browser/ui/bookmarks/bookmark_utils.cc
index e03e3f9d6718be56b2324de11712a29187110877..e548b54981f18b6687bfae840fce4e7a70c5c78f 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.cc
@@ -95,7 +95,7 @@ BookmarkShortcutDisposition GetBookmarkShortcutDisposition(Profile* profile) {
#if defined(TOOLKIT_VIEWS)
gfx::ImageSkia GetFolderIcon(gfx::VectorIconId id, SkColor text_color) {
- return gfx::CreateVectorIcon(id, 16,
+ return gfx::CreateVectorIcon(id,
color_utils::DeriveDefaultIconColor(text_color));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698