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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_linux.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_linux.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
index 5f5405b9963199bd524fa631e636576d67bec0f1..0fc371b99dac9f24de68c5c5d347bec58863eca8 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
@@ -44,8 +44,15 @@ void GpuMemoryBufferImpl::AllocateForChildProcess(
}
// static
+void GpuMemoryBufferImpl::DeletedByChildProcess(
+ gfx::GpuMemoryBufferType type,
+ const gfx::GpuMemoryBufferId& id,
+ base::ProcessHandle child_process) {
+}
+
+// static
scoped_ptr<GpuMemoryBufferImpl> GpuMemoryBufferImpl::CreateFromHandle(
- gfx::GpuMemoryBufferHandle handle,
+ const gfx::GpuMemoryBufferHandle& handle,
const gfx::Size& size,
unsigned internalformat) {
switch (handle.type) {

Powered by Google App Engine
This is Rietveld 408576698