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

Unified Diff: content/browser/gpu/browser_gpu_memory_buffer_manager.cc

Issue 2496783002: gpu: Reuse existing code for shared memory allocation. (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/browser/gpu/browser_gpu_memory_buffer_manager.cc
diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
index 51aeb5eb39c59bb465d77a6da4b2453df8d4affe..57170fc8049e8ec498bc75a52a0c80d5608f6626 100644
--- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
+++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
@@ -288,7 +288,7 @@ void BrowserGpuMemoryBufferManager::AllocateGpuMemoryBufferForChildProcess(
}
callback.Run(gpu::GpuMemoryBufferImplSharedMemory::AllocateForChildProcess(
- id, size, format, child_process_handle));
+ id, size, format));
}
void BrowserGpuMemoryBufferManager::SetDestructionSyncToken(

Powered by Google App Engine
This is Rietveld 408576698