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

This fixes a Fuchsia build breakage cause by #6726 and #6603.
This commit is contained in:
Amir Hardon 2018-11-02 13:55:24 -07:00 committed by GitHub
parent b5758d0d38
commit 96f7f344f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),