Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix ci
  • Loading branch information
Chris Yang committed Dec 8, 2020
commit 315cf41b548618c7a207866e17d85d77f701d5b8
4 changes: 2 additions & 2 deletions testing/scenario_app/lib/src/platform_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ class PlatformViewForTouchIOSScenario extends Scenario
/// For example, it simulates a video being played.
class PlatformViewWithContinuousTexture extends PlatformViewScenario {
/// Constructs a platform view with continuous texture layer.
PlatformViewWithContinuousTexture(PlatformDispatcher dispatcher, String text, { int id = 0 })
: super(dispatcher, text, id: id);
PlatformViewWithContinuousTexture(Window window, String text, { int id = 0 })
: super(window, text, id: id);

@override
void onBeginFrame(Duration duration) {
Expand Down
2 changes: 1 addition & 1 deletion testing/scenario_app/lib/src/scenarios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Map<String, ScenarioFactory> _scenarios = <String, ScenarioFactory>{
'tap_status_bar': () => TouchesScenario(window),
'text_semantics_focus': () => SendTextFocusScemantics(window),
'initial_route_reply': () => InitialRouteReply(window),
'platform_view_with_continuous_texture': () => PlatformViewWithContinuousTexture(PlatformDispatcher.instance, 'Platform View', id: _viewId++),
'platform_view_with_continuous_texture': () => PlatformViewWithContinuousTexture(window, 'Platform View', id: _viewId++),
};

Map<String, dynamic> _currentScenarioParams = <String, dynamic>{};
Expand Down