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 e8c9b5f5ee4ed2757cf6360d9a61062eb509fb59..be994134ec09605e3e763ea2e54624be7c06534f 100644 |
--- a/content/common/gpu/gpu_channel_manager.h |
+++ b/content/common/gpu/gpu_channel_manager.h |
@@ -141,6 +141,7 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener, |
const gpu::ValueState& state); |
void OnLoseAllContexts(); |
+ void CheckRelinquishGpuResources(); |
scoped_refptr<base::MessageLoopProxy> io_message_loop_; |
base::WaitableEvent* shutdown_event_; |
@@ -164,6 +165,7 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener, |
scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory_; |
IPC::SyncChannel* channel_; |
scoped_refptr<IPC::MessageFilter> filter_; |
+ bool relinquish_resources_pending_; |
// Member variables should appear before the WeakPtrFactory, to ensure |
// that any WeakPtrs to Controller are invalidated before its members |