diff options
author | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:18:35 +0000 |
---|---|---|
committer | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-24 16:18:35 +0000 |
commit | 90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3 (patch) | |
tree | 235a9415585abee3dc1a3767c898f55ccdeb7007 /ui/base/resource/resource_data_dll_win.cc | |
parent | 386ef8cfc747ea354f9b9d38a2603e099afc3892 (diff) | |
download | chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.zip chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.tar.gz chromium_src-90fa26548ea8e328b0c1de44fc3d2cf4ae4eacb3.tar.bz2 |
Move RefCountedStaticMemory to base namespace
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/10165020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133702 0039d316-1c4b-4281-b951-d872f2087c98
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; |