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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_io_surface.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_io_surface.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
index 06cb7ed9bdc3064c4c05294a5b875b0aef1259b6..029ea4f7c5b0c79172bc76d4c092e760a3fb278a 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
@@ -55,7 +55,7 @@ uint32 GpuMemoryBufferImplIOSurface::PixelFormat(unsigned internalformat) {
}
bool GpuMemoryBufferImplIOSurface::InitializeFromHandle(
- gfx::GpuMemoryBufferHandle handle) {
+ const gfx::GpuMemoryBufferHandle& handle) {
DCHECK(IsFormatSupported(internalformat_));
io_surface_.reset(IOSurfaceLookup(handle.io_surface_id));
if (!io_surface_) {

Powered by Google App Engine
This is Rietveld 408576698