Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
2011-03-11 Anders Carlsson <andersca@apple.com>
Reviewed by Dan Bernstein. Don't paint more than 60 times per second https://bugs.webkit.org/show_bug.cgi?id=56206 <rdar://problem/9085989> * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::DrawingAreaImpl): Initialize m_lastDisplayTime to 0. Change the display timer to call displayTimerFired. (WebKit::DrawingAreaImpl::didUpdate): Call displayTimerFired instead of display. (WebKit::DrawingAreaImpl::displayTimerFired): If we're asked to paint again less than 1/60th of a second after we've already painted, defer painting. (WebKit::DrawingAreaImpl::display): Update m_lastDisplayTime. Canonical link: https://commits.webkit.org/70760@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Anders Carlsson
committed
Mar 11, 2011
1 parent
8027933
commit 1a0c4aa
Showing
3 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters