Unverified Commit 5cf0d737 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

In layers_test create a canvas to start recording on the PictureRecorder (#60660)

parent 11ff938a
......@@ -277,6 +277,7 @@ void main() {
final PictureLayer pictureLayer = PictureLayer(Rect.zero);
checkNeedsAddToScene(pictureLayer, () {
final PictureRecorder recorder = PictureRecorder();
Canvas(recorder);
pictureLayer.picture = recorder.endRecording();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment