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

Unified Diff: cc/trees/layer_tree.cc

Issue 2322943003: cc: Move UI Resource management out of LayerTreeHost. (Closed)
Patch Set: virtual dtor Created 4 years, 3 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 | « cc/trees/layer_tree.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.cc
diff --git a/cc/trees/layer_tree.cc b/cc/trees/layer_tree.cc
index cf0c3bc4760acdc50ee11f53511f2f8162d980bf..7282f52b671098bc8f561d2dc3f5c34a3875ab5d 100644
--- a/cc/trees/layer_tree.cc
+++ b/cc/trees/layer_tree.cc
@@ -720,4 +720,12 @@ void LayerTree::SetNeedsDisplayOnAllLayers() {
layer->SetNeedsDisplay();
}
+UIResourceManager* LayerTree::GetUIResourceManager() const {
+ return layer_tree_host_->GetUIResourceManager();
+}
+
+const LayerTreeSettings& LayerTree::GetSettings() const {
+ return layer_tree_host_->GetSettings();
+}
+
} // namespace cc
« no previous file with comments | « cc/trees/layer_tree.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698