diff --git a/bin/internal/engine.version b/bin/internal/engine.version index 3b51f0660b5..3ef65dc1809 100644 --- a/bin/internal/engine.version +++ b/bin/internal/engine.version @@ -1 +1 @@ -232060828a1d4a9c3ee16b92f3af5f5a15041e32 +cb3376c5dedb71cec7a88b8a8904acc5dd6c6ba1 diff --git a/packages/flutter/test/painting/decoration_test.dart b/packages/flutter/test/painting/decoration_test.dart index 31e79fff8c4..94618138078 100644 --- a/packages/flutter/test/painting/decoration_test.dart +++ b/packages/flutter/test/painting/decoration_test.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:typed_data'; -import 'dart:ui' as ui show Image, ColorFilter; +import 'dart:ui' as ui show Image, ImageByteFormat, ColorFilter; import 'package:flutter/foundation.dart'; import 'package:flutter/painting.dart'; @@ -90,7 +90,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/painting/image_stream_test.dart b/packages/flutter/test/painting/image_stream_test.dart index 279e8a58197..51c19784f7c 100644 --- a/packages/flutter/test/painting/image_stream_test.dart +++ b/packages/flutter/test/painting/image_stream_test.dart @@ -40,7 +40,7 @@ class FakeImage implements Image { void dispose() {} @override - Future toByteData() async { + Future toByteData({ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/painting/paint_image_test.dart b/packages/flutter/test/painting/paint_image_test.dart index 972f19552a3..164de8a9f9f 100644 --- a/packages/flutter/test/painting/paint_image_test.dart +++ b/packages/flutter/test/painting/paint_image_test.dart @@ -23,7 +23,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/painting/shape_decoration_test.dart b/packages/flutter/test/painting/shape_decoration_test.dart index 068db569092..193467d6d8f 100644 --- a/packages/flutter/test/painting/shape_decoration_test.dart +++ b/packages/flutter/test/painting/shape_decoration_test.dart @@ -125,7 +125,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/rendering/image_test.dart b/packages/flutter/test/rendering/image_test.dart index 0d4f2e99dbe..d9143a1a2ab 100644 --- a/packages/flutter/test/rendering/image_test.dart +++ b/packages/flutter/test/rendering/image_test.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:typed_data'; -import 'dart:ui' as ui show Image; +import 'dart:ui' as ui show Image, ImageByteFormat; import 'package:flutter/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -19,7 +19,7 @@ class SquareImage implements ui.Image { int get height => 10; @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } @@ -38,7 +38,7 @@ class WideImage implements ui.Image { int get height => 10; @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } @@ -57,7 +57,7 @@ class TallImage implements ui.Image { int get height => 20; @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } diff --git a/packages/flutter/test/widgets/image_resolution_test.dart b/packages/flutter/test/widgets/image_resolution_test.dart index be4c35b8ddd..7790b324d1a 100644 --- a/packages/flutter/test/widgets/image_resolution_test.dart +++ b/packages/flutter/test/widgets/image_resolution_test.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:typed_data'; -import 'dart:ui' as ui show Image; +import 'dart:ui' as ui show Image, ImageByteFormat; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; @@ -26,7 +26,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/widgets/image_rtl_test.dart b/packages/flutter/test/widgets/image_rtl_test.dart index 553cf6f3edb..f3b51b516a3 100644 --- a/packages/flutter/test/widgets/image_rtl_test.dart +++ b/packages/flutter/test/widgets/image_rtl_test.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:typed_data'; -import 'dart:ui' as ui show Image; +import 'dart:ui' as ui show Image, ImageByteFormat; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; @@ -37,7 +37,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); } } diff --git a/packages/flutter/test/widgets/image_test.dart b/packages/flutter/test/widgets/image_test.dart index 91343a9715c..939dc28e20a 100644 --- a/packages/flutter/test/widgets/image_test.dart +++ b/packages/flutter/test/widgets/image_test.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:typed_data'; -import 'dart:ui' as ui show Image; +import 'dart:ui' as ui show Image, ImageByteFormat; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; @@ -484,7 +484,7 @@ class TestImage implements ui.Image { void dispose() { } @override - Future toByteData() async { + Future toByteData({ui.ImageByteFormat format}) async { throw new UnsupportedError('Cannot encode test image'); }