| Index: ui/base/resource/resource_bundle.cc
|
| diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
|
| index aa0b6f5de93daceedf60dc922d26a07d504ad034..42367f7183254fcd8d28feb0d9254a52ea3d742d 100644
|
| --- a/ui/base/resource/resource_bundle.cc
|
| +++ b/ui/base/resource/resource_bundle.cc
|
| @@ -406,8 +406,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());
|
| }
|
| }
|
|
|
|
|