Index: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp |
index e929a0597f39a3e71f3ee496952bceef458da209..06296244825b56041290ba964c810f815ea7f1bf 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp |
@@ -181,6 +181,7 @@ void InProcessWorkerObjectProxy::didTerminateWorkerThread() { |
InProcessWorkerObjectProxy::InProcessWorkerObjectProxy( |
InProcessWorkerMessagingProxy* messagingProxy) |
: m_messagingProxy(messagingProxy), |
+ m_defaultIntervalInSec(kDefaultIntervalInSec), |
m_nextIntervalInSec(kDefaultIntervalInSec), |
m_maxIntervalInSec(kMaxIntervalInSec) {} |
@@ -209,7 +210,7 @@ void InProcessWorkerObjectProxy::checkPendingActivity(TimerBase*) { |
// Don't schedule a timer. It will be started again when a message event |
// is dispatched. |
- m_nextIntervalInSec = kDefaultIntervalInSec; |
+ m_nextIntervalInSec = m_defaultIntervalInSec; |
return; |
} |