summaryrefslogtreecommitdiffstats
path: root/cc/layer_impl.cc
diff options
context:
space:
mode:
authoregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 01:55:20 +0000
committeregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-30 01:55:20 +0000
commitf511afb6940373a304131e0a547bcfe17749d0db (patch)
treeaa7f9c26f79772544ebb6951c48ea8dc554750c8 /cc/layer_impl.cc
parent9ef82fdaa55d450e12446d6a1c3b9394ade1f7d6 (diff)
downloadchromium_src-f511afb6940373a304131e0a547bcfe17749d0db.zip
chromium_src-f511afb6940373a304131e0a547bcfe17749d0db.tar.gz
chromium_src-f511afb6940373a304131e0a547bcfe17749d0db.tar.bz2
This change puts all settings for debugging/HudLayer in a new LayerTreeDebugState structure. This allows for easier toggling of debug settings. Commandline switches get OR'ed in.
BUG= Review URL: https://chromiumcodereview.appspot.com/11414017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_impl.cc')
-rw-r--r--cc/layer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index 81bc49f..feee4f4 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -149,7 +149,7 @@ bool LayerImpl::showDebugBorders() const
{
if (!m_layerTreeHostImpl)
return false;
- return m_layerTreeHostImpl->settings().showDebugBorders;
+ return m_layerTreeHostImpl->debugState().showDebugBorders;
}
void LayerImpl::getDebugBorderProperties(SkColor* color, float* width) const