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

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: Rebase to 170216 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
« no previous file with comments | « cc/heads_up_display_unittest.cc ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index 81bc49f01aafb4a2ea926f0412e3764a5c786d8a..feee4f4d6b0348c0b73c30a002044ad156cb4d3a 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
« no previous file with comments | « cc/heads_up_display_unittest.cc ('k') | cc/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698