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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12210050: Expose FS show/hide thresholds to Command Line (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 10 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/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index cb4a872916cd6695eebd83cfc6d7581af2d60a5d..005f22b94adabd72ff56a3ea3015f3b69ed5177b 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -174,8 +174,12 @@ LayerTreeHostImpl::LayerTreeHostImpl(const LayerTreeSettings& settings, LayerTre
setDebugState(settings.initialDebugState);
- if (settings.calculateTopControlsPosition)
- m_topControlsManager = TopControlsManager::Create(this, settings.topControlsHeight);
+ if (settings.calculateTopControlsPosition) {
+ m_topControlsManager = TopControlsManager::Create(this,
+ settings.topControlsHeight,
+ settings.topControlsShowThreshold,
+ settings.topControlsHideThreshold);
+ }
setDebugState(settings.initialDebugState);
« no previous file with comments | « no previous file | cc/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698