This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ namespace testing {
1212
1313TEST (VariableRefreshRateDisplayTest, ReportCorrectInitialRefreshRate) {
1414 auto refresh_rate_reporter = std::make_shared<TestRefreshRateReporter>(60 );
15- auto display = flutter::VariableRefreshRateDisplay (*refresh_rate_reporter.get ());
15+ auto display =
16+ flutter::VariableRefreshRateDisplay (*refresh_rate_reporter.get ());
1617 ASSERT_EQ (display.GetRefreshRate (), 60 );
1718}
1819
1920TEST (VariableRefreshRateDisplayTest, ReportCorrectRefreshRateWhenUpdated) {
2021 auto refresh_rate_reporter = std::make_shared<TestRefreshRateReporter>(60 );
21- auto display = flutter::VariableRefreshRateDisplay (*refresh_rate_reporter.get ());
22+ auto display =
23+ flutter::VariableRefreshRateDisplay (*refresh_rate_reporter.get ());
2224 refresh_rate_reporter->UpdateRefreshRate (30 );
2325 ASSERT_EQ (display.GetRefreshRate (), 30 );
2426}
Original file line number Diff line number Diff line change @@ -700,7 +700,8 @@ - (BOOL)createShell:(NSString*)entrypoint
700700}
701701
702702- (void )initializeDisplays {
703- const flutter::VsyncWaiterIOS& vsync_waiter_ios = static_cast <const flutter::VsyncWaiterIOS&>(_shell->GetVsyncWaiter ());
703+ const flutter::VsyncWaiterIOS& vsync_waiter_ios =
704+ static_cast <const flutter::VsyncWaiterIOS&>(_shell->GetVsyncWaiter ());
704705 std::vector<std::unique_ptr<flutter::Display>> displays;
705706 displays.push_back (std::make_unique<flutter::VariableRefreshRateDisplay>(vsync_waiter_ios));
706707 _shell->OnDisplayUpdates (flutter::DisplayUpdateType::kStartup , std::move (displays));
You can’t perform that action at this time.
0 commit comments