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

Unified Diff: Source/core/platform/ThreadTimers.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/platform/ThreadTimers.h ('k') | Source/core/platform/Timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/ThreadTimers.cpp
diff --git a/Source/core/platform/ThreadTimers.cpp b/Source/core/platform/ThreadTimers.cpp
index eef621af2be85aab4429e4f84205a66c53de7c04..884f6444e2f3223b63e21c651b6f96345cc2c83a 100644
--- a/Source/core/platform/ThreadTimers.cpp
+++ b/Source/core/platform/ThreadTimers.cpp
@@ -21,7 +21,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
@@ -70,9 +70,9 @@ void ThreadTimers::setSharedTimer(SharedTimer* sharedTimer)
m_sharedTimer->stop();
m_pendingSharedTimerFireTime = 0;
}
-
+
m_sharedTimer = sharedTimer;
-
+
if (sharedTimer) {
m_sharedTimer->setFiredFunction(ThreadTimers::sharedTimerFired);
updateSharedTimer();
@@ -83,7 +83,7 @@ void ThreadTimers::updateSharedTimer()
{
if (!m_sharedTimer)
return;
-
+
if (m_firingTimers || m_timerHeap.isEmpty()) {
m_pendingSharedTimerFireTime = 0;
m_sharedTimer->stop();
@@ -94,7 +94,7 @@ void ThreadTimers::updateSharedTimer()
// No need to restart the timer if both the pending fire time and the new fire time are in the past.
if (m_pendingSharedTimerFireTime <= currentMonotonicTime && nextFireTime <= currentMonotonicTime)
return;
- }
+ }
m_pendingSharedTimerFireTime = nextFireTime;
m_sharedTimer->setFireInterval(max(nextFireTime - currentMonotonicTime, 0.0));
}
« no previous file with comments | « Source/core/platform/ThreadTimers.h ('k') | Source/core/platform/Timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698