Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index b9867d6217c88f845a55e22f8cc11abfd0369ff6..5704481514d72ee65e4bad69550dcbe3a6aa74e1 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -135,6 +135,7 @@ void Layer::SetLayerTreeHost(LayerTreeHost* host) { |
if (host) { |
host->property_trees()->needs_rebuild = true; |
host->RegisterLayer(this); |
+ DCHECK(!host->in_update()); |
enne (OOO)
2015/07/10 20:29:21
Reuse host->in_paint_layer_contents()?
ajuma
2015/07/10 20:52:53
Done, and moved the DCHECK over to LayerTreeHost::
|
} |
InvalidatePropertyTreesIndices(); |