Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 9d1c36657e1e410aec6c624f28fe77fef521040d..31bd7f364a30e00dbd9985bfa096417df2a77fa0 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -121,6 +121,7 @@ LayerTreeHost::LayerTreeHost(InitParams* params) |
task_graph_runner_(params->task_graph_runner), |
surface_id_namespace_(0u), |
next_surface_sequence_(1u) { |
+ DCHECK_IMPLIES(settings_.impl_side_painting, task_graph_runner_); |
if (settings_.accelerated_animation_enabled) |
animation_registrar_ = AnimationRegistrar::Create(); |
rendering_stats_instrumentation_->set_record_rendering_stats( |