Index: ui/base/resource/resource_data_dll_win.cc |
diff --git a/ui/base/resource/resource_data_dll_win.cc b/ui/base/resource/resource_data_dll_win.cc |
index c6c90c71d5b4ab0e83745137165ef2ee500c36b3..e6a35aa3cd863ae9b88107c5056d45013bdf1afb 100644 |
--- a/ui/base/resource/resource_data_dll_win.cc |
+++ b/ui/base/resource/resource_data_dll_win.cc |
@@ -47,8 +47,7 @@ base::RefCountedStaticMemory* ResourceDataDLL::GetStaticMemory( |
size_t data_size; |
if (base::win::GetDataResourceFromModule(module_, resource_id, &data_ptr, |
&data_size)) { |
- return new base::RefCountedStaticMemory( |
- reinterpret_cast<const unsigned char*>(data_ptr), data_size); |
+ return new base::RefCountedStaticMemory(data_ptr, data_size); |
} |
return NULL; |
} |