| Index: ui/base/resource/resource_bundle.cc
|
| diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
|
| index 4371e4fed6c73b30e95c06350e35e4243287548d..c9d1a9e540dd159a2141bea0de9a762f6c6cd523 100644
|
| --- a/ui/base/resource/resource_bundle.cc
|
| +++ b/ui/base/resource/resource_bundle.cc
|
| @@ -405,8 +405,7 @@ base::RefCountedStaticMemory* ResourceBundle::LoadDataResourceBytesForScale(
|
| base::StringPiece data =
|
| GetRawDataResourceForScale(resource_id, scale_factor);
|
| if (!data.empty()) {
|
| - bytes = new base::RefCountedStaticMemory(
|
| - reinterpret_cast<const unsigned char*>(data.data()), data.length());
|
| + bytes = new base::RefCountedStaticMemory(data.data(), data.length());
|
| }
|
| }
|
|
|
|
|