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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 14061028: cc: Set tile manager memory policy in initializeRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove DCHECK Created 7 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: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index df3f23ffd8d9449c8c90ec8b739aee85f1833f75..631099a86d0689857ee67f28de05196c8628c730 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -391,6 +391,8 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
LayerImpl* root_draw_layer,
const LayerImplList& render_surface_layer_list);
+ void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
+
// Returns false if the frame should not be displayed. This function should
// only be called from PrepareToDraw, as DidDrawAllLayers must be called
// if this helper function is called.

Powered by Google App Engine
This is Rietveld 408576698