| Index: ui/gfx/icon_util.cc
|
| diff --git a/ui/gfx/icon_util.cc b/ui/gfx/icon_util.cc
|
| index 223618601e32bb6311c23dd45416e06c12d7210c..fee7c289a7acfac9d84da1fd0278f2056fcbfaf3 100644
|
| --- a/ui/gfx/icon_util.cc
|
| +++ b/ui/gfx/icon_util.cc
|
| @@ -290,9 +290,7 @@ scoped_ptr<SkBitmap> IconUtil::CreateSkBitmapFromIconResource(HMODULE module,
|
| DCHECK(png_data);
|
| DCHECK_EQ(png_size, large_icon_entry->dwBytesInRes);
|
|
|
| - const unsigned char* png_bytes =
|
| - reinterpret_cast<const unsigned char*>(png_data);
|
| - gfx::Image image = gfx::Image::CreateFrom1xPNGBytes(png_bytes, png_size);
|
| + gfx::Image image = gfx::Image::CreateFrom1xPNGBytes(png_data, png_size);
|
| return scoped_ptr<SkBitmap>(new SkBitmap(image.AsBitmap()));
|
| }
|
|
|
|
|