| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | |
| 6 #include "core/frame/DOMTimerCoordinator.h" | 5 #include "core/frame/DOMTimerCoordinator.h" |
| 7 | 6 |
| 8 #include "core/dom/ExecutionContext.h" | 7 #include "core/dom/ExecutionContext.h" |
| 9 #include "core/frame/DOMTimer.h" | 8 #include "core/frame/DOMTimer.h" |
| 10 #include <algorithm> | 9 #include <algorithm> |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 DOMTimerCoordinator::DOMTimerCoordinator(PassOwnPtr<WebTaskRunner> timerTaskRunn
er) | 13 DOMTimerCoordinator::DOMTimerCoordinator(PassOwnPtr<WebTaskRunner> timerTaskRunn
er) |
| 15 : m_circularSequentialID(0) | 14 : m_circularSequentialID(0) |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return m_circularSequentialID; | 61 return m_circularSequentialID; |
| 63 } | 62 } |
| 64 } | 63 } |
| 65 | 64 |
| 66 void DOMTimerCoordinator::setTimerTaskRunner(PassOwnPtr<WebTaskRunner> timerTask
Runner) | 65 void DOMTimerCoordinator::setTimerTaskRunner(PassOwnPtr<WebTaskRunner> timerTask
Runner) |
| 67 { | 66 { |
| 68 m_timerTaskRunner = timerTaskRunner; | 67 m_timerTaskRunner = timerTaskRunner; |
| 69 } | 68 } |
| 70 | 69 |
| 71 } // namespace blink | 70 } // namespace blink |
| OLD | NEW |