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

Unified Diff: Source/platform/Timer.cpp

Issue 273993002: Allow XHR timeout attribute to be overridden after send(), per spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« Source/platform/Timer.h ('K') | « Source/platform/Timer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Timer.cpp
diff --git a/Source/platform/Timer.cpp b/Source/platform/Timer.cpp
index c6b58b9d376d0c356453515f1b98e95e3b0a9a16..b3975a93f4e20d036857be4f50d01cc3909e24f1 100644
--- a/Source/platform/Timer.cpp
+++ b/Source/platform/Timer.cpp
@@ -212,6 +212,16 @@ void TimerBase::start(double nextFireInterval, double repeatInterval, const Trac
setNextFireTime(monotonicallyIncreasingTime() + nextFireInterval);
}
+void TimerBase::startExact(double nextFireInterval, double repeatInterval, const TraceLocation& caller)
tyoshino (SeeGerritForStatus) 2014/05/09 08:04:36 s/nextFireInterval/nextFireTime/
+{
+ ASSERT(m_thread == currentThread());
+
+ m_location = caller;
+ m_repeatInterval = repeatInterval;
+ setNextFireTime(nextFireInterval);
+}
+
+
tyoshino (SeeGerritForStatus) 2014/05/09 08:04:36 single blank line
void TimerBase::stop()
{
ASSERT(m_thread == currentThread());
« Source/platform/Timer.h ('K') | « Source/platform/Timer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698