Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d86f41a

Browse files
committed
format/fix
1 parent e531d8a commit d86f41a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/ui/painting/picture.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ DART_BIND_ALL(Picture, FOR_EACH_BINDING)
2929
fml::RefPtr<Picture> Picture::Create(Dart_Handle dart_handle,
3030
flutter::SkiaGPUObject<SkPicture> picture,
3131
size_t external_allocation_size) {
32-
auto canvas_picture =
33-
fml::MakeRefCounted<Picture>(std::move(picture), external_allocation_size);
32+
auto canvas_picture = fml::MakeRefCounted<Picture>(std::move(picture),
33+
external_allocation_size);
3434

3535
canvas_picture->AssociateWithDartWrapper(dart_handle);
3636
return canvas_picture;

testing/dart/canvas_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ void main() {
247247
});
248248

249249
test('Vertex buffer size reflected in picture size for drawVertices', () async {
250-
final Image image = await createImage(100, 100);
251250
final PictureRecorder recorder = PictureRecorder();
252251
final Canvas canvas = Canvas(recorder);
253252

0 commit comments

Comments
 (0)