Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index e91dded995895c30d906072953f6a4a1b6f1ddca..74d6a51996bec7f6466f805013631d14cac5af6b 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -582,7 +582,8 @@ void CalculateDrawPropertiesInternal( |
// A root layer render_surface should always exist after |
// CalculateDrawProperties. |
- DCHECK(inputs->root_layer->GetRenderSurface()); |
+ DCHECK(inputs->property_trees->effect_tree.GetRenderSurface( |
+ EffectTree::kContentsRootNodeId)); |
} |
void LayerTreeHostCommon::CalculateDrawPropertiesForTesting( |