Skip to content

Commit

Permalink
Update scene_update_context to match recent PaintContext changes. (fl…
Browse files Browse the repository at this point in the history
…utter#6736)

This fixes a Fuchsia build breakage cause by flutter#6726 and flutter#6603.
  • Loading branch information
amirh authored Nov 2, 2018
1 parent b5758d0 commit 96f7f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/scene_update_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 96f7f34

Please sign in to comment.