summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:47:44 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:47:44 +0000
commit3dce37234c2bdbd6f5114eca99ef65bf661f6fb9 (patch)
tree8989263baf7d330444e5828d790bb99fa45113f1 /cc/layer_tree_host.cc
parente3806df6c8c07d29a50ee5493f4c0e81f63e9837 (diff)
downloadchromium_src-3dce37234c2bdbd6f5114eca99ef65bf661f6fb9.zip
chromium_src-3dce37234c2bdbd6f5114eca99ef65bf661f6fb9.tar.gz
chromium_src-3dce37234c2bdbd6f5114eca99ef65bf661f6fb9.tar.bz2
cc: Add support for debugging layer borders directly in the compositor
Instead of supporting --show-composited-layer-borders via the GraphicsLayer debug borders mechanism, show debug borders on layers when the new LayerTreeSetting flag showDebugBorders is enabled. This depends on https://bugs.webkit.org/show_bug.cgi?id=102130 BUG=159769 R=jamesr,enne Review URL: https://chromiumcodereview.appspot.com/11365239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_host.cc')
-rw-r--r--cc/layer_tree_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index cc58a9f..d261bfb 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -38,6 +38,7 @@ bool LayerTreeHost::s_needsFilterContext = false;
LayerTreeSettings::LayerTreeSettings()
: acceleratePainting(false)
+ , showDebugBorders(false)
, showPlatformLayerTree(false)
, showPaintRects(false)
, showPropertyChangedRects(false)