From a9a5c333dc1967587decfb13650e67a27aebc80f Mon Sep 17 00:00:00 2001 From: Amir Hardon Date: Fri, 2 Nov 2018 13:55:24 -0700 Subject: [PATCH] Update scene_update_context to match recent PaintContext changes. (flutter/engine#6736) This fixes a Fuchsia build breakage cause by #6726 and #6603. --- engine/src/flutter/flow/scene_update_context.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/flow/scene_update_context.cc b/engine/src/flutter/flow/scene_update_context.cc index a89df0ff7a..0c1e5a780c 100644 --- a/engine/src/flutter/flow/scene_update_context.cc +++ b/engine/src/flutter/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(),