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

Unified Diff: cc/layer_impl.cc

Issue 11414017: cc: handling debug settings in new LayerTreeDebugState structure (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rewrote to LayerTreeSwitches Created 8 years, 1 month 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/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index 0b341fa8e66829f0f838bae61ebc594f848cd0e1..f253bb4230126ce7701382affc16b962ffb747c5 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -150,7 +150,7 @@ bool LayerImpl::showDebugBorders() const
{
if (!m_layerTreeHostImpl)
return false;
- return m_layerTreeHostImpl->settings().showDebugBorders;
+ return m_layerTreeHostImpl->switches().showDebugBorders;
}
void LayerImpl::getDebugBorderProperties(SkColor* color, float* width) const
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/layer_tree_host.h » ('j') | cc/layer_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698