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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc

Issue 409723003: content: Add DeletedGpuMemoryBuffer IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused code Created 6 years, 5 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/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
index 42daebc0089b4ae8a602ea946ea826758c1a7150..b038dc365dbd9273ff695134a5e92ed524775e80 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
@@ -77,7 +77,7 @@ bool GpuMemoryBufferImplSharedMemory::Initialize() {
}
bool GpuMemoryBufferImplSharedMemory::InitializeFromHandle(
- gfx::GpuMemoryBufferHandle handle) {
+ const gfx::GpuMemoryBufferHandle& handle) {
DCHECK(IsLayoutSupported(size_, internalformat_));
if (!base::SharedMemory::IsHandleValid(handle.handle))
return false;

Powered by Google App Engine
This is Rietveld 408576698