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 +3
-3
lines changed
shell/platform/fuchsia/flutter Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -319,13 +319,13 @@ bool FlatlandConnection::MaybeRunInitialVsyncCallback(
319319 const fml::TimePoint& now,
320320 FireCallbackCallback& callback) {
321321 // Only sent maybe_run_initial_vsync once.
322- if (threadsafe_state_.maybe_run_initial_vsync_callback_sent_ ) {
322+ if (threadsafe_state_.initial_vsync_callback_ran_ ) {
323323 return false ;
324324 }
325325 TRACE_DURATION (" flutter" , " FlatlandConnection::MaybeRunInitialVsyncCallback" );
326326 const auto frame_end = now + kInitialFlatlandVsyncOffset ;
327327 threadsafe_state_.last_presentation_time_ = frame_end;
328- threadsafe_state_.maybe_run_initial_vsync_callback_sent_ = true ;
328+ threadsafe_state_.initial_vsync_callback_ran_ = true ;
329329 callback (now, frame_end);
330330 return true ;
331331}
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class FlatlandConnection final {
137137 fml::TimePoint last_presentation_time_;
138138 FireCallbackCallback pending_fire_callback_;
139139 uint32_t present_credits_ = 1 ;
140- bool maybe_run_initial_vsync_callback_sent_ = false ;
140+ bool initial_vsync_callback_ran_ = false ;
141141 } threadsafe_state_;
142142
143143 // Acquire fences sent to Flatland.
You can’t perform that action at this time.
0 commit comments