未验证 提交 96f7f344 编写于 作者: A Amir Hardon 提交者: GitHub

Update scene_update_context to match recent PaintContext changes. (#6736)

This fixes a Fuchsia build breakage cause by #6726 and #6603.
上级 b5758d0d
......@@ -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(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册