| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 if (fireTime - alignedTimeRoundedDown < minimumInterval) | 194 if (fireTime - alignedTimeRoundedDown < minimumInterval) |
| 195 return alignedTimeRoundedDown; | 195 return alignedTimeRoundedDown; |
| 196 | 196 |
| 197 return alignedTimeRoundedUp; | 197 return alignedTimeRoundedUp; |
| 198 } | 198 } |
| 199 | 199 |
| 200 return fireTime; | 200 return fireTime; |
| 201 } | 201 } |
| 202 | 202 |
| 203 WebTaskRunner* DOMTimer::timerTaskRunner() |
| 204 { |
| 205 return executionContext()->timers()->timerTaskRunner(); |
| 206 } |
| 207 |
| 203 DEFINE_TRACE(DOMTimer) | 208 DEFINE_TRACE(DOMTimer) |
| 204 { | 209 { |
| 205 visitor->trace(m_action); | 210 visitor->trace(m_action); |
| 206 SuspendableTimer::trace(visitor); | 211 SuspendableTimer::trace(visitor); |
| 207 } | 212 } |
| 208 | 213 |
| 209 } // namespace blink | 214 } // namespace blink |
| OLD | NEW |