Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1e013a8

Browse files
committed
fix docs to remove verbage
1 parent 9042a6e commit 1e013a8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

shell/common/display.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ typedef uint64_t DisplayId;
1616
/// in such cases. There must only be one screen in such cases.
1717
static constexpr DisplayId kSingleScreenDeviceId = 0;
1818

19-
/// To be used when the display refresh rate is unknown. This is in frames per
20-
/// second.
19+
/// To be used when the display refresh rate is unknown.
2120
static constexpr double kUnknownDisplayRefreshRate = 0;
2221

2322
/// Display refers to a graphics hardware system consisting of a framebuffer,

shell/platform/embedder/embedder.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -974,11 +974,9 @@ typedef struct {
974974

975975
FlutterEngineDisplayId display_id;
976976

977-
/// A double-precision floating-point value representing the actual refresh
978-
/// period in seconds. This value may be zero if the device is not running or
979-
/// unavaliable or unknown.
977+
/// This represents the refresh period in frames per second. This value may be
978+
/// zero if the device is not running or unavaliable or unknown.
980979
double refresh_rate;
981-
982980
} FlutterEngineDisplay;
983981

984982
/// The update type parameter that is passed to

0 commit comments

Comments
 (0)