aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc')
-rw-r--r--devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc b/devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc
deleted file mode 100644
index 3663ce2697b0..000000000000
--- a/devel/electron12/files/patch-cc_trees_frame__rate__estimator.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- cc/trees/frame_rate_estimator.cc.orig 2021-01-07 00:36:18 UTC
-+++ cc/trees/frame_rate_estimator.cc
-@@ -48,7 +48,7 @@ void FrameRateEstimator::WillDraw(base::TimeTicks now)
- // frequency is lower than that, then using a lower frame rate is permitted.
- // The delta below is to account for minor offsets in frame times.
- constexpr auto kFudgeDelta = base::TimeDelta::FromMilliseconds(1);
-- constexpr auto kMinDelta =
-+ auto kMinDelta =
- (viz::BeginFrameArgs::DefaultInterval() * 2) + kFudgeDelta;
- if (draw_delta < kMinDelta)
- num_of_consecutive_frames_with_min_delta_++;