diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-03 18:14:15 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 13:23:48 +0200 |
commit | 8bd941d4e32008b0c49953c0c6f93124e2823696 (patch) | |
tree | db843cb1b12ef3c5bb7d9b2bf91e95965fe021a3 /layout/base/nsRefreshDriver.h | |
parent | 7172fc72a3b279ca1ebe1035ea0d4c5ea35c13b1 (diff) | |
download | UXP-8bd941d4e32008b0c49953c0c6f93124e2823696.tar UXP-8bd941d4e32008b0c49953c0c6f93124e2823696.tar.gz UXP-8bd941d4e32008b0c49953c0c6f93124e2823696.tar.lz UXP-8bd941d4e32008b0c49953c0c6f93124e2823696.tar.xz UXP-8bd941d4e32008b0c49953c0c6f93124e2823696.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.h | 5 |
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. |