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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12095071: Convert top controls to use DIP instead of PX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 36c8d6738bf0de19f6cfe0da05694c025b583a5b..ba0671ef0c4b8e0c3dc419cb1b0f2a0823c5807c 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -159,7 +159,7 @@ LayerTreeHostImpl::LayerTreeHostImpl(const LayerTreeSettings& settings, LayerTre
didVisibilityChange(this, m_visible);
if (settings.calculateTopControlsPosition)
- m_topControlsManager = TopControlsManager::Create(this, settings.topControlsHeightPx);
+ m_topControlsManager = TopControlsManager::Create(this, settings.topControlsHeight);
// LTHI always has an active tree.
m_activeTree = LayerTreeImpl::create(this);
« 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