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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb LayerSettings parameter for cc::Layer construction. Created 5 years, 7 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.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 53aea757cb33a54fa57261d215d83b4b2e0c0a4f..cc3ad93210f57a1eab543a53375d9dd4ad932ccf 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -382,7 +382,7 @@ void LayerTreeHost::WillCommit() {
void LayerTreeHost::UpdateHudLayer() {
if (debug_state_.ShowHudInfo()) {
if (!hud_layer_.get())
- hud_layer_ = HeadsUpDisplayLayer::Create();
+ hud_layer_ = HeadsUpDisplayLayer::Create(settings_.hud_layer_settings_);
if (root_layer_.get() && !hud_layer_->parent())
root_layer_->AddChild(hud_layer_);

Powered by Google App Engine
This is Rietveld 408576698