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

Unified Diff: content/child/child_gpu_memory_buffer_manager.cc

Issue 2526683002: gpu: Rename AllocateGpuMemoryBuffer to CreateGpuMemoryBuffer. (Closed)
Patch Set: . Created 4 years, 1 month 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
Index: content/child/child_gpu_memory_buffer_manager.cc
diff --git a/content/child/child_gpu_memory_buffer_manager.cc b/content/child/child_gpu_memory_buffer_manager.cc
index 2bc4755945117f8a3a484d02c9424ff4466676c0..29001809625c11d8bf680873d531d61a73458184 100644
--- a/content/child/child_gpu_memory_buffer_manager.cc
+++ b/content/child/child_gpu_memory_buffer_manager.cc
@@ -33,18 +33,14 @@ ChildGpuMemoryBufferManager::~ChildGpuMemoryBufferManager() {
}
std::unique_ptr<gfx::GpuMemoryBuffer>
-ChildGpuMemoryBufferManager::AllocateGpuMemoryBuffer(
+ChildGpuMemoryBufferManager::CreateGpuMemoryBuffer(
const gfx::Size& size,
gfx::BufferFormat format,
gfx::BufferUsage usage,
gpu::SurfaceHandle surface_handle) {
DCHECK_EQ(gpu::kNullSurfaceHandle, surface_handle);
- TRACE_EVENT2("renderer",
- "ChildGpuMemoryBufferManager::AllocateGpuMemoryBuffer",
- "width",
- size.width(),
- "height",
- size.height());
+ TRACE_EVENT2("renderer", "ChildGpuMemoryBufferManager::CreateGpuMemoryBuffer",
+ "width", size.width(), "height", size.height());
gfx::GpuMemoryBufferHandle handle;
IPC::Message* message = new ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer(
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.h ('k') | content/renderer/media/renderer_gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698