Index: content/common/gpu/gpu_memory_manager.h |
=================================================================== |
--- content/common/gpu/gpu_memory_manager.h (revision 163290) |
+++ content/common/gpu/gpu_memory_manager.h (working copy) |
@@ -19,20 +19,24 @@ |
#include "content/public/common/gpu_memory_stats.h" |
#include "ui/gfx/size.h" |
+namespace content { |
class GpuCommandBufferStubBase; |
-class GpuMemoryTrackingGroup; |
+} |
#if defined(COMPILER_GCC) |
namespace BASE_HASH_NAMESPACE { |
template<> |
-struct hash<GpuCommandBufferStubBase*> { |
- size_t operator()(GpuCommandBufferStubBase* ptr) const { |
+struct hash<content::GpuCommandBufferStubBase*> { |
+ size_t operator()(content::GpuCommandBufferStubBase* ptr) const { |
return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
} |
}; |
} // namespace BASE_HASH_NAMESPACE |
#endif // COMPILER |
+namespace content { |
+class GpuMemoryTrackingGroup; |
+ |
class CONTENT_EXPORT GpuMemoryManagerClient { |
public: |
virtual ~GpuMemoryManagerClient() {} |
@@ -176,6 +180,8 @@ |
DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager); |
}; |
+} // namespace content |
+ |
#endif |
#endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_ |