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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2255403002: Use int rather than size_t to pass DIP amounts to vector icon functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed one Created 4 years, 4 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 | ui/gfx/paint_vector_icon.h » ('j') | ui/gfx/paint_vector_icon.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 9aa06e8b731cb147e8946c99c873675f4797d8db..7943336197433fdf424c4f921827c002b7b12ca3 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -438,7 +438,7 @@ class EditableProfilePhoto : public views::LabelButton {
canvas->DrawCircle(center_point, GetProfileBadgeSize() / 2, paint);
gfx::VectorIconId icon_id;
- size_t icon_size;
+ int icon_size;
SkColor icon_color;
if (switches::IsMaterialDesignUserMenu()) {
icon_id = profile_->IsChild()
« no previous file with comments | « no previous file | ui/gfx/paint_vector_icon.h » ('j') | ui/gfx/paint_vector_icon.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698