Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shm.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
similarity index 72% |
rename from content/common/gpu/client/gpu_memory_buffer_impl_shm.h |
rename to content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
index 2ba552c50a2fd6b3781c04e2f35f97648fca136d..5ed0bafffca0ea42a08a02db65ee332d8ba21e6d 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shm.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
@@ -2,18 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHM_H_ |
-#define CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHM_H_ |
+#ifndef CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHARED_MEMORY_H_ |
+#define CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHARED_MEMORY_H_ |
#include "content/common/gpu/client/gpu_memory_buffer_impl.h" |
namespace content { |
// Implementation of GPU memory buffer based on shared memory. |
-class GpuMemoryBufferImplShm : public GpuMemoryBufferImpl { |
+class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
public: |
- GpuMemoryBufferImplShm(const gfx::Size& size, unsigned internalformat); |
- virtual ~GpuMemoryBufferImplShm(); |
+ GpuMemoryBufferImplSharedMemory(const gfx::Size& size, |
+ unsigned internalformat); |
+ virtual ~GpuMemoryBufferImplSharedMemory(); |
// Allocates a shared memory backed GPU memory buffer with |size| and |
// |internalformat| for use by |child_process|. |
@@ -41,9 +42,9 @@ class GpuMemoryBufferImplShm : public GpuMemoryBufferImpl { |
private: |
scoped_ptr<base::SharedMemory> shared_memory_; |
- DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplShm); |
+ DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplSharedMemory); |
}; |
} // namespace content |
-#endif // CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHM_H_ |
+#endif // CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SHARED_MEMORY_H_ |