diff --git a/flow/scene_update_context.cc b/flow/scene_update_context.cc index a89df0ff7ae9a..0c1e5a780c2ec 100644 --- a/flow/scene_update_context.cc +++ b/flow/scene_update_context.cc @@ -187,7 +187,8 @@ SceneUpdateContext::ExecutePaintTasks(CompositorContext::ScopedFrame& frame) { for (auto& task : paint_tasks_) { FML_DCHECK(task.surface); SkCanvas* canvas = task.surface->GetSkiaSurface()->getCanvas(); - Layer::PaintContext context = {*canvas, + Layer::PaintContext context = {canvas, + nullptr, frame.context().frame_time(), frame.context().engine_time(), frame.context().texture_registry(),