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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 290573011: Delay the response to ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer via a callback to allow for b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 0f355d78a751d0b02a0072b5dc8e89f095f0e52d..90f28f6fc9bcf19817f6f4fc543c47f5836ab2cd 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -278,7 +278,9 @@ class RenderMessageFilter : public BrowserMessageFilter {
uint32 height,
uint32 internalformat,
uint32 usage,
- gfx::GpuMemoryBufferHandle* handle);
+ IPC::Message* reply);
+ void SendAllocateGpuMemoryBufferReply(IPC::Message* reply,
+ gfx::GpuMemoryBufferHandle* handle);
reveman 2014/05/19 05:51:07 Can we change this to: void GpuMemoryBufferAlloca
// Cached resource request dispatcher host and plugin service, guaranteed to
// be non-null if Init succeeds. We do not own the objects, they are managed

Powered by Google App Engine
This is Rietveld 408576698