Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1123)

Unified Diff: ui/base/resource/resource_data_dll_win.cc

Issue 10165020: Move RefCountedStaticMemory to base namespace (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/resource/resource_data_dll_win.h ('k') | ui/base/resource/resource_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_data_dll_win.cc
===================================================================
--- ui/base/resource/resource_data_dll_win.cc (revision 133676)
+++ ui/base/resource/resource_data_dll_win.cc (working copy)
@@ -32,13 +32,13 @@
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;
« no previous file with comments | « ui/base/resource/resource_data_dll_win.h ('k') | ui/base/resource/resource_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698