This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
namespace flutter {
15
15
16
16
// ------------------------------------------------------------------------------
17
- // / The struct of platform-specific data used for initializing ui.Window.
17
+ // / The struct of platform-specific data used for initializing
18
+ // / ui.PlatformDispatcher.
18
19
// /
19
- // / framework may request data from ui.Window before platform is properly
20
- // / configured. Engine this struct to set the desired default value for
21
- // / ui.Window when creating Shell before platform is ready to send the real
20
+ // / The framework may request data from ui.PlatformDispatcher before the
21
+ // / platform is properly configured. When creating the Shell, the engine sets
22
+ // / this struct to default values until the platform is ready to send the real
22
23
// / data.
23
24
// /
24
25
// / See also:
25
26
// /
26
27
// / * flutter::Shell::Create, which takes a platform_data to initialize the
27
- // / ui.Window attached to it.
28
+ // / ui.PlatformDispatcher attached to it.
28
29
struct PlatformData {
29
30
PlatformData ();
30
31
Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ class Shell final : public PlatformView::Delegate,
452
452
std::atomic<bool > needs_report_timings_{false };
453
453
454
454
// Whether there's a task scheduled to report the timings to Dart through
455
- // ui.Window .onReportTimings.
455
+ // ui.PlatformDispatcher .onReportTimings.
456
456
bool frame_timings_report_scheduled_ = false ;
457
457
458
458
// Vector of FrameTiming::kCount * n timestamps for n frames whose timings
You can’t perform that action at this time.
0 commit comments