Index: ui/message_center/views/proportional_image_view.cc |
diff --git a/ui/message_center/views/proportional_image_view.cc b/ui/message_center/views/proportional_image_view.cc |
index a1afd2eebed2f2eccc9671d2d1e4c56ce78ffbd0..8ec9b32e6dc8b14671ffed4177374d1b5f429eee 100644 |
--- a/ui/message_center/views/proportional_image_view.cc |
+++ b/ui/message_center/views/proportional_image_view.cc |
@@ -15,9 +15,9 @@ ProportionalImageView::ProportionalImageView(const gfx::ImageSkia& image, |
ProportionalImageView::~ProportionalImageView() {} |
-gfx::Size ProportionalImageView::GetPreferredSize() { return max_size_; } |
+gfx::Size ProportionalImageView::GetPreferredSize() const { return max_size_; } |
-int ProportionalImageView::GetHeightForWidth(int width) { |
+int ProportionalImageView::GetHeightForWidth(int width) const { |
return max_size_.height(); |
} |