Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp

Issue 10391049: Merge 116319 - Unreviewed, rolling out r115525. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp
===================================================================
--- Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp (revision 116642)
+++ Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp (working copy)
@@ -53,7 +53,7 @@
}
DisplayRefreshMonitor::DisplayRefreshMonitor(PlatformDisplayID displayID)
- : m_monotonicAnimationStartTime(0)
+ : m_timestamp(0)
, m_active(true)
, m_scheduled(false)
, m_previousFrameDone(true)
@@ -75,15 +75,15 @@
void DisplayRefreshMonitor::notifyClients()
{
- double monotonicAnimationStartTime;
+ double timestamp;
{
MutexLocker lock(m_mutex);
m_scheduled = false;
- monotonicAnimationStartTime = m_monotonicAnimationStartTime;
+ timestamp = m_timestamp;
}
for (size_t i = 0; i < m_clients.size(); ++i)
- m_clients[i]->fireDisplayRefreshIfNeeded(monotonicAnimationStartTime);
+ m_clients[i]->fireDisplayRefreshIfNeeded(timestamp);
{
MutexLocker lock(m_mutex);

Powered by Google App Engine
This is Rietveld 408576698