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

Unified Diff: content/renderer/gpu/gpu_surface_proxy.h

Issue 7634019: Allow cmdbuffer creation from compositor thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MessageLoop::current() -> MessageLoopProxy::current() Created 9 years, 4 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/renderer/gpu/gpu_surface_proxy.h
diff --git a/content/renderer/gpu/gpu_surface_proxy.h b/content/renderer/gpu/gpu_surface_proxy.h
index 62cb41e51d4cf6c5c58909c72dba33c19c20cccf..4e2981309b72b0bbafbf70968c34454484ba26f5 100644
--- a/content/renderer/gpu/gpu_surface_proxy.h
+++ b/content/renderer/gpu/gpu_surface_proxy.h
@@ -8,6 +8,7 @@
#if defined(ENABLE_GPU)
+#include "content/renderer/gpu/gpu_channel_host.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
@@ -16,7 +17,8 @@ class Size;
}
// Client side proxy that forwards messages to a GpuSurfaceStub.
-class GpuSurfaceProxy : public IPC::Channel::Listener {
+class GpuSurfaceProxy : public IPC::Channel::Listener,
+ public GpuChannelHost::MessageFilter::Listener {
public:
GpuSurfaceProxy(IPC::Channel::Sender* channel, int route_id);
virtual ~GpuSurfaceProxy();

Powered by Google App Engine
This is Rietveld 408576698