This commit is contained in:
Adam Barth
2017-01-03 13:25:38 -08:00
committed by GitHub
parent 63fbe60fa6
commit 6ecdcd4612

View File

@@ -108,7 +108,8 @@ void SceneUpdateContext::ExecutePaintTasks(
FTL_DCHECK(task.surface);
SkCanvas* canvas = task.surface->getCanvas();
Layer::PaintContext context = {*canvas, frame.context().frame_time(),
frame.context().engine_time()};
frame.context().engine_time(),
frame.context().memory_usage()};
canvas->clear(SK_ColorTRANSPARENT);
canvas->scale(task.scaleX, task.scaleY);