| Index: ui/gfx/image/image_skia.cc
|
| diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc
|
| index bba6c47641f9f08da231f5fb28f97022a6ca6ad2..b6d9d8d1b63f634d6f93b5f75ed7bebf13708514 100644
|
| --- a/ui/gfx/image/image_skia.cc
|
| +++ b/ui/gfx/image/image_skia.cc
|
| @@ -56,8 +56,7 @@ class Matcher {
|
| };
|
|
|
| ImageSkiaRep ScaleImageSkiaRep(const ImageSkiaRep& rep, float target_scale) {
|
| - DCHECK_NE(rep.scale(), target_scale);
|
| - if (rep.is_null())
|
| + if (rep.is_null() || rep.scale() == target_scale)
|
| return rep;
|
|
|
| gfx::Size scaled_size = ToCeiledSize(
|
|
|