summaryrefslogtreecommitdiffstats
path: root/layout/base/nsRefreshDriver.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-03 18:14:15 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-03 18:14:15 +0200
commit7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b (patch)
tree67062d645247e7d63cf594dba5524d9aef4c72db /layout/base/nsRefreshDriver.h
parent90a9bc22161728298e4a56e8edfc60578df106d1 (diff)
downloadUXP-7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b.tar
UXP-7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b.tar.gz
UXP-7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b.tar.lz
UXP-7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b.tar.xz
UXP-7630b1c56e5ff5dda7c69fc43fb4205c6ddaff3b.zip
Issue #1507 - Remove nsRefreshDriver's use of high res system timers.
Since we are using vsync for timing anyway in the layout refresh driver, there is no need to bump the system timer resolution down to 1 ms. This resolves #1507.
Diffstat (limited to 'layout/base/nsRefreshDriver.h')
-rw-r--r--layout/base/nsRefreshDriver.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/layout/base/nsRefreshDriver.h b/layout/base/nsRefreshDriver.h
index b2dd9be4b..4e839e764 100644
--- a/layout/base/nsRefreshDriver.h
+++ b/layout/base/nsRefreshDriver.h
@@ -450,7 +450,6 @@ private:
bool mNeedToRecomputeVisibility;
bool mTestControllingRefreshes;
bool mViewManagerFlushIsPending;
- bool mRequestedHighPrecision;
bool mInRefresh;
// True if the refresh driver is suspended waiting for transaction
@@ -502,10 +501,6 @@ private:
friend class mozilla::RefreshDriverTimer;
- // turn on or turn off high precision based on various factors
- void ConfigureHighPrecision();
- void SetHighPrecisionTimersEnabled(bool aEnable);
-
static void Shutdown();
// `true` if we are currently in jank-critical mode.