Skip to content

Commit f5894d9

Browse files
goderbauercaseycrogers
authored andcommitted
Prepare for dynamically sized views - pt. 2 (flutter#139079)
Towards flutter#134501. Required to roll flutter/engine#48090 into the framework. Two new subclasses of FlutterView were added recently for testing (in flutter#138849) that I missed in my previous PR (flutter#138565).
1 parent 5d31b74 commit f5894d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter/test/widgets/multi_view_testing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class FakeView extends TestFlutterView {
1717
final int viewId;
1818

1919
@override
20-
void render(Scene scene) {
20+
void render(Scene scene, {Size? size}) {
2121
// Do not render the scene in the engine. The engine only observes one
2222
// instance of FlutterView (the _view), and it is generally expected that
2323
// the framework will render no more than one `Scene` per frame.

packages/flutter_test/test/multi_view_testing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class FakeView extends TestFlutterView {
1717
final int viewId;
1818

1919
@override
20-
void render(Scene scene) {
20+
void render(Scene scene, {Size? size}) {
2121
// Do not render the scene in the engine. The engine only observes one
2222
// instance of FlutterView (the _view), and it is generally expected that
2323
// the framework will render no more than one `Scene` per frame.

0 commit comments

Comments
 (0)