diff --git a/lib/web_ui/lib/src/engine/html/path/path_metrics.dart b/lib/web_ui/lib/src/engine/html/path/path_metrics.dart
index 67965267b2e60..3e3b6aa04f041 100644
--- a/lib/web_ui/lib/src/engine/html/path/path_metrics.dart
+++ b/lib/web_ui/lib/src/engine/html/path/path_metrics.dart
@@ -44,16 +44,13 @@ class SurfacePathMetrics extends IterableBase
/// Maintains a single instance of computed segments for set of PathMetric
/// objects exposed through iterator.
-///
-/// [resScale] controls the precision of measure when values > 1.
class _SurfacePathMeasure {
- _SurfacePathMeasure(this._path, this.forceClosed, {this.resScale = 1.0})
+ _SurfacePathMeasure(this._path, this.forceClosed)
:
// nextContour will increment this to the zero based index.
_currentContourIndex = -1,
_pathIterator = PathIterator(_path, forceClosed);
- final double resScale;
final PathRef _path;
PathIterator _pathIterator;
final List<_PathContourMeasure> _contours = <_PathContourMeasure>[];
diff --git a/lib/web_ui/lib/src/ui/window.dart b/lib/web_ui/lib/src/ui/window.dart
index d88e6dc5a56fa..a2a0dbb711e83 100644
--- a/lib/web_ui/lib/src/ui/window.dart
+++ b/lib/web_ui/lib/src/ui/window.dart
@@ -252,11 +252,11 @@ class IsolateNameServer {
SingletonFlutterWindow get window => engine.window;
class FrameData {
- const FrameData._({this.frameNumber = -1});
+ const FrameData._();
- const FrameData.webOnly() : frameNumber = -1;
+ const FrameData.webOnly();
- final int frameNumber;
+ int get frameNumber => -1;
}
class GestureSettings {