Bug 207081 - Call DisplayRefreshMonitor::setPreferredFramesPerSecond() only when it is needed
Summary: Call DisplayRefreshMonitor::setPreferredFramesPerSecond() only when it is needed
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 17:05 PST by Said Abou-Hallawa
Modified: 2020-02-13 14:52 PST (History)
1 user (show)

See Also:


Attachments
Patch (5.96 KB, patch)
2020-01-31 17:06 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2020-01-31 17:05:53 PST
I don't think calling it is that expensive but fixing this bug makes the code cleaner.
Comment 1 Said Abou-Hallawa 2020-01-31 17:06:40 PST
Created attachment 389443 [details]
Patch
Comment 2 Said Abou-Hallawa 2020-02-13 14:51:58 PST
The original patch r255158 was rolled back in r256512. So there is no need for this bug.