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

Unified Diff: cc/layer.cc

Issue 11365239: cc: Add support for debugging layer borders directly in the compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index 8164ee93c057edecc9b7f7298916d37fabfeb0ea..c69418d0ce0ead04658283b42bad874b56b6acf5 100644
--- a/cc/layer.cc
+++ b/cc/layer.cc
@@ -41,8 +41,6 @@ Layer::Layer()
, m_touchEventHandlerRegionChanged(false)
, m_anchorPoint(0.5, 0.5)
, m_backgroundColor(0)
- , m_debugBorderColor(0)
- , m_debugBorderWidth(0)
, m_opacity(1.0)
, m_filter(0)
, m_anchorPointZ(0)
@@ -564,8 +562,6 @@ void Layer::pushPropertiesTo(LayerImpl* layer)
layer->setBounds(m_bounds);
layer->setContentBounds(contentBounds());
layer->setContentsScale(contentsScaleX(), contentsScaleY());
- layer->setDebugBorderColor(m_debugBorderColor);
- layer->setDebugBorderWidth(m_debugBorderWidth);
layer->setDebugName(m_debugName);
layer->setDoubleSided(m_doubleSided);
layer->setDrawCheckerboardForMissingTiles(m_drawCheckerboardForMissingTiles);
@@ -641,18 +637,6 @@ bool Layer::needMoreUpdates()
return false;
}
-void Layer::setDebugBorderColor(SkColor color)
-{
- m_debugBorderColor = color;
- setNeedsCommit();
-}
-
-void Layer::setDebugBorderWidth(float width)
-{
- m_debugBorderWidth = width;
- setNeedsCommit();
-}
-
void Layer::setDebugName(const std::string& debugName)
{
m_debugName = debugName;
« no previous file with comments | « cc/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698