Index: cc/layer.cc |
diff --git a/cc/layer.cc b/cc/layer.cc |
index dea9e45e226c56f1cc8ae1759121fd755d18f5aa..7164a54a64a59b66933c80194b38e7670e3ef404 100644 |
--- a/cc/layer.cc |
+++ b/cc/layer.cc |
@@ -700,19 +700,6 @@ void Layer::createRenderSurface() |
m_drawProperties.render_target = this; |
} |
-int Layer::descendantsDrawContent() |
-{ |
- int result = 0; |
- for (size_t i = 0; i < m_children.size(); ++i) { |
- if (m_children[i]->drawsContent()) |
- ++result; |
- result += m_children[i]->descendantsDrawContent(); |
- if (result > 1) |
- return result; |
- } |
- return result; |
-} |
- |
int Layer::id() const |
{ |
return m_layerId; |