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

Unified Diff: cc/output/context_provider.h

Issue 53633003: Do not give GPU memory to backgrounded compositors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove test Created 7 years, 2 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
« no previous file with comments | « no previous file | cc/output/delegating_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/context_provider.h
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h
index 6db326d7f9a570210120bc74385a2daf51fabda2..0a794d77d6882648cb776fab0b4304843bbdd4d3 100644
--- a/cc/output/context_provider.h
+++ b/cc/output/context_provider.h
@@ -78,9 +78,8 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
// Sets a callback to be called when the memory policy changes. This should be
// called from the same thread that the context is bound to.
- typedef base::Callback<void(
- const cc::ManagedMemoryPolicy& policy,
- bool discard_backbuffer_when_not_visible)> MemoryPolicyChangedCallback;
+ typedef base::Callback<void(const cc::ManagedMemoryPolicy& policy)>
+ MemoryPolicyChangedCallback;
virtual void SetMemoryPolicyChangedCallback(
const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0;
« no previous file with comments | « no previous file | cc/output/delegating_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698