| Index: ui/views/controls/image_view.cc
|
| diff --git a/ui/views/controls/image_view.cc b/ui/views/controls/image_view.cc
|
| index ea63a6dfc92d9a8c1cbd25f67fc01192470b7cb9..3bee99cdaea28661fa905f0d268acb329bcaae0f 100644
|
| --- a/ui/views/controls/image_view.cc
|
| +++ b/ui/views/controls/image_view.cc
|
| @@ -110,7 +110,7 @@ gfx::Point ImageView::ComputeImageOrigin(const gfx::Size& image_size) const {
|
| void ImageView::OnPaint(gfx::Canvas* canvas) {
|
| View::OnPaint(canvas);
|
|
|
| - if (image_.empty())
|
| + if (image_.isNull())
|
| return;
|
|
|
| gfx::Rect image_bounds(GetImageBounds());
|
|
|