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

Commit b4f386a

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

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

shell/common/display.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace flutter {
99

10-
/// Unique IO per display that is stable until the Flutter application restarts.
10+
/// Unique ID per display that is stable until the Flutter application restarts.
1111
/// See also: `flutter::Display`
1212
typedef uint64_t DisplayId;
1313

@@ -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)