diff options
Diffstat (limited to 'ui/base/resource/resource_data_dll_win.cc')
-rw-r--r-- | ui/base/resource/resource_data_dll_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/base/resource/resource_data_dll_win.cc b/ui/base/resource/resource_data_dll_win.cc index 16f6a25..4c7e052 100644 --- a/ui/base/resource/resource_data_dll_win.cc +++ b/ui/base/resource/resource_data_dll_win.cc @@ -32,13 +32,13 @@ bool ResourceDataDLL::GetStringPiece(uint16 resource_id, return false; } -RefCountedStaticMemory* ResourceDataDLL::GetStaticMemory( +base::RefCountedStaticMemory* ResourceDataDLL::GetStaticMemory( uint16 resource_id) const { void* data_ptr; size_t data_size; if (base::win::GetDataResourceFromModule(module_, resource_id, &data_ptr, &data_size)) { - return new RefCountedStaticMemory( + return new base::RefCountedStaticMemory( reinterpret_cast<const unsigned char*>(data_ptr), data_size); } return NULL; |