Unverified Commit e50b2507 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Pre-migration for dart:ui multi view changes (#128092)

For https://github.com/flutter/engine/pull/42493.
parent 4cf89cc2
...@@ -678,7 +678,8 @@ class TestFlutterView implements FlutterView { ...@@ -678,7 +678,8 @@ class TestFlutterView implements FlutterView {
final TestDisplay _display; final TestDisplay _display;
@override @override
Object get viewId => _view.viewId; // TODO(goderbauer): Clean ignore and cast up after https://github.com/flutter/engine/pull/42493 lands.
int get viewId => _view.viewId as int; // ignore: unnecessary_cast
/// The device pixel ratio to use for this test. /// The device pixel ratio to use for this test.
/// ///
...@@ -2105,7 +2106,8 @@ class TestWindow implements SingletonFlutterWindow { ...@@ -2105,7 +2106,8 @@ class TestWindow implements SingletonFlutterWindow {
'This feature was deprecated after v3.9.0-0.1.pre.' 'This feature was deprecated after v3.9.0-0.1.pre.'
) )
@override @override
Object get viewId => _view.viewId; // TODO(goderbauer): Clean ignore and cast up after https://github.com/flutter/engine/pull/42493 lands.
int get viewId => _view.viewId as int; // ignore: unnecessary_cast
/// This gives us some grace time when the dart:ui side adds something to /// This gives us some grace time when the dart:ui side adds something to
/// [SingletonFlutterWindow], and makes things easier when we do rolls to give /// [SingletonFlutterWindow], and makes things easier when we do rolls to give
......
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