| Index: ui/base/resource/data_pack.cc
|
| diff --git a/ui/base/resource/data_pack.cc b/ui/base/resource/data_pack.cc
|
| index 56d74a2786855f7676d1b022ff82b5ad596c7195..934b14b29666ba64e6ca6e56157fe16fc78ddb13 100644
|
| --- a/ui/base/resource/data_pack.cc
|
| +++ b/ui/base/resource/data_pack.cc
|
| @@ -200,8 +200,7 @@ base::RefCountedStaticMemory* DataPack::GetStaticMemory(
|
| if (!GetStringPiece(resource_id, &piece))
|
| return NULL;
|
|
|
| - return new base::RefCountedStaticMemory(
|
| - reinterpret_cast<const unsigned char*>(piece.data()), piece.length());
|
| + return new base::RefCountedStaticMemory(piece.data(), piece.length());
|
| }
|
|
|
| ResourceHandle::TextEncodingType DataPack::GetTextEncodingType() const {
|
|
|