Index: content/common/gpu/gpu_channel_manager.h |
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h |
index 01b8b7c2ab4ae32de6e0543d8c52d6ddbc0926a0..9fe1b268cf1ecbdc75f397fb0ca329f19df1a684 100644 |
--- a/content/common/gpu/gpu_channel_manager.h |
+++ b/content/common/gpu/gpu_channel_manager.h |
@@ -20,6 +20,10 @@ namespace base { |
class WaitableEvent; |
} |
+namespace gfx { |
+class GLShareGroup; |
+} |
+ |
namespace IPC { |
struct ChannelHandle; |
} |
@@ -76,7 +80,7 @@ class GpuChannelManager : public IPC::Channel::Listener, |
private: |
// Message handlers. |
- void OnEstablishChannel(int client_id, int share_client_id); |
+ void OnEstablishChannel(int client_id, bool share_context); |
void OnCloseChannel(const IPC::ChannelHandle& channel_handle); |
void OnVisibilityChanged( |
int32 render_view_id, int32 client_id, bool visible); |
@@ -99,6 +103,7 @@ class GpuChannelManager : public IPC::Channel::Listener, |
// process. |
typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap; |
GpuChannelMap gpu_channels_; |
+ scoped_refptr<gfx::GLShareGroup> share_group_; |
GpuMemoryManager gpu_memory_manager_; |
GpuWatchdog* watchdog_; |