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

Unified Diff: third_party/WebKit/Source/platform/Timer.cpp

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Fix build. Update after review. Created 4 years, 1 month 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: third_party/WebKit/Source/platform/Timer.cpp
diff --git a/third_party/WebKit/Source/platform/Timer.cpp b/third_party/WebKit/Source/platform/Timer.cpp
index 18202fe630183598c3b5d0f50fda86782a8d6ca0..5d75c69b6941e1e911bfc9832623b9e073723c3f 100644
--- a/third_party/WebKit/Source/platform/Timer.cpp
+++ b/third_party/WebKit/Source/platform/Timer.cpp
@@ -58,7 +58,7 @@ TimerBase::~TimerBase() {
void TimerBase::start(double nextFireInterval,
double repeatInterval,
const WebTraceLocation& caller) {
- ASSERT(m_thread == currentThread());
+ DCHECK(m_thread == currentThread());
m_location = caller;
m_repeatInterval = repeatInterval;
@@ -66,7 +66,7 @@ void TimerBase::start(double nextFireInterval,
}
void TimerBase::stop() {
- ASSERT(m_thread == currentThread());
+ DCHECK(m_thread == currentThread());
m_repeatInterval = 0;
m_nextFireTime = 0;
@@ -96,7 +96,7 @@ WebTaskRunner* TimerBase::timerTaskRunner() const {
}
void TimerBase::setNextFireTime(double now, double delay) {
- ASSERT(m_thread == currentThread());
+ DCHECK(m_thread == currentThread());
double newTime = now + delay;

Powered by Google App Engine
This is Rietveld 408576698