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

Unified Diff: content/common/child_process_host_impl.cc

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no ozone Created 6 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
Index: content/common/child_process_host_impl.cc
diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
index 6d6060e30cb3c9e2a443a0c4458ba0859f42c8f4..e62ff00ac034e3e4768e6582259c64abf7cf3f11 100644
--- a/content/common/child_process_host_impl.cc
+++ b/content/common/child_process_host_impl.cc
@@ -308,6 +308,7 @@ void ChildProcessHostImpl::OnAllocateGpuMemoryBuffer(
uint32 width,
uint32 height,
uint32 internalformat,
+ gfx::GpuMemoryBuffer::Usage usage,
gfx::GpuMemoryBufferHandle* handle) {
handle->type = gfx::SHARED_MEMORY_BUFFER;
AllocateSharedMemory(

Powered by Google App Engine
This is Rietveld 408576698