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

Side by Side Diff: Source/WebCore/platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 2 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 void DisplayRefreshMonitor::displayLinkFired() 75 void DisplayRefreshMonitor::displayLinkFired()
76 { 76 {
77 MutexLocker lock(m_mutex); 77 MutexLocker lock(m_mutex);
78 78
79 if (!m_scheduled || !m_previousFrameDone) 79 if (!m_scheduled || !m_previousFrameDone)
80 return; 80 return;
81 81
82 m_previousFrameDone = false; 82 m_previousFrameDone = false;
83 83
84 m_monotonicAnimationStartTime = monotonicallyIncreasingTime(); 84 m_timestamp = currentTime();
85 85
86 callOnMainThread(refreshDisplayOnMainThread, this); 86 callOnMainThread(refreshDisplayOnMainThread, this);
87 } 87 }
88 88
89 } 89 }
90 90
91 #endif // USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) 91 #endif // USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698