Unverified Commit 9147a1c1 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Prepare for dynamically sized views - pt. 2 (#139079)

Towards https://github.com/flutter/flutter/issues/134501.

Required to roll https://github.com/flutter/engine/pull/48090 into the framework.

Two new subclasses of FlutterView were added recently for testing (in https://github.com/flutter/flutter/pull/138849) that I missed in my previous PR (https://github.com/flutter/flutter/pull/138565).
parent bf5d2b87
......@@ -17,7 +17,7 @@ class FakeView extends TestFlutterView {
final int viewId;
@override
void render(Scene scene) {
void render(Scene scene, {Size? size}) {
// Do not render the scene in the engine. The engine only observes one
// instance of FlutterView (the _view), and it is generally expected that
// the framework will render no more than one `Scene` per frame.
......
......@@ -17,7 +17,7 @@ class FakeView extends TestFlutterView {
final int viewId;
@override
void render(Scene scene) {
void render(Scene scene, {Size? size}) {
// Do not render the scene in the engine. The engine only observes one
// instance of FlutterView (the _view), and it is generally expected that
// the framework will render no more than one `Scene` per frame.
......
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