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

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: Rebase 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/views/examples/vector_example.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 c6670a2d0cc05b3d295605f38b4563c4724ef728..bfdab71ef1f6c35dca9b356f2d9d78fe048d6946 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/views/examples/vector_example.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698