Index: content/common/gpu/client/context_provider_command_buffer.h |
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h |
index 05d181ee747411f54d57b6656d1706b025bdb35c..3446f07fe185b7e8887ff850310e82079aa972a9 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.h |
+++ b/content/common/gpu/client/context_provider_command_buffer.h |
@@ -33,11 +33,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer |
CommandBufferProxyImpl* GetCommandBufferProxy(); |
- void set_leak_on_destroy() { |
- base::AutoLock lock(main_thread_lock_); |
- leak_on_destroy_ = true; |
- } |
- |
// ContextProviderWebContext implementation. |
virtual WebGraphicsContext3DCommandBufferImpl* WebContext3D() OVERRIDE; |
@@ -81,7 +76,6 @@ class CONTENT_EXPORT ContextProviderCommandBuffer |
MemoryPolicyChangedCallback memory_policy_changed_callback_; |
base::Lock main_thread_lock_; |
- bool leak_on_destroy_; |
bool destroyed_; |
class LostContextCallbackProxy; |