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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 years, 8 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/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;
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/common/gpu/client/context_provider_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698