Index: ash/common/system/user/rounded_image_view.cc |
diff --git a/ash/common/system/user/rounded_image_view.cc b/ash/common/system/user/rounded_image_view.cc |
index cef81547ea855374a7c7a8f40b53f38f39272903..e708279c2142a5f59dffcae0d80636c43896e46e 100644 |
--- a/ash/common/system/user/rounded_image_view.cc |
+++ b/ash/common/system/user/rounded_image_view.cc |
@@ -20,14 +20,13 @@ RoundedImageView::RoundedImageView(int corner_radius) { |
RoundedImageView::~RoundedImageView() {} |
-void RoundedImageView::SetImage(const gfx::ImageSkia& img, |
+void RoundedImageView::SetImage(const gfx::ImageSkia& image, |
const gfx::Size& size) { |
- image_ = img; |
image_size_ = size; |
// Try to get the best image quality for the avatar. |
resized_ = gfx::ImageSkiaOperations::CreateResizedImage( |
- image_, skia::ImageOperations::RESIZE_BEST, size); |
+ image, skia::ImageOperations::RESIZE_BEST, size); |
if (GetWidget() && visible()) { |
PreferredSizeChanged(); |
SchedulePaint(); |