Revert "Reland VelocityTracker update (again)" (#138863)
Reverts flutter/flutter#138843 This has broken the Mac_ios microbenchmarks_ios. Example failure: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20microbenchmarks_ios/9339/overview
This commit is contained in:
@@ -425,9 +425,6 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
|
||||
/// actual current wall-clock time.
|
||||
Clock get clock;
|
||||
|
||||
@override
|
||||
SamplingClock? get debugSamplingClock => _TestSamplingClock(clock);
|
||||
|
||||
/// Triggers a frame sequence (build/layout/paint/etc),
|
||||
/// then flushes microtasks.
|
||||
///
|
||||
@@ -2152,18 +2149,6 @@ class TestViewConfiguration extends ViewConfiguration {
|
||||
String toString() => 'TestViewConfiguration';
|
||||
}
|
||||
|
||||
class _TestSamplingClock implements SamplingClock {
|
||||
_TestSamplingClock(this._clock);
|
||||
|
||||
@override
|
||||
DateTime now() => _clock.now();
|
||||
|
||||
@override
|
||||
Stopwatch stopwatch() => _clock.stopwatch();
|
||||
|
||||
final Clock _clock;
|
||||
}
|
||||
|
||||
const int _kPointerDecay = -2;
|
||||
|
||||
class _LiveTestPointerRecord {
|
||||
|
||||
Reference in New Issue
Block a user