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 "sky/engine/config.h" | |
6 #include "sky/engine/platform/SharedTimer.h" | 5 #include "sky/engine/platform/SharedTimer.h" |
7 | 6 |
8 #include <cmath> | 7 #include <cmath> |
9 #include "base/time/time.h" | 8 #include "base/time/time.h" |
10 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
11 #include "sky/engine/wtf/CurrentTime.h" | 10 #include "sky/engine/wtf/CurrentTime.h" |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 namespace { | 13 namespace { |
15 | 14 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 { | 86 { |
88 SharedTimerImpl::instance().setSharedTimerFireInterval(interval); | 87 SharedTimerImpl::instance().setSharedTimerFireInterval(interval); |
89 } | 88 } |
90 | 89 |
91 void stopSharedTimer() | 90 void stopSharedTimer() |
92 { | 91 { |
93 SharedTimerImpl::instance().stopSharedTimer(); | 92 SharedTimerImpl::instance().stopSharedTimer(); |
94 } | 93 } |
95 | 94 |
96 } // namespace blink | 95 } // namespace blink |
OLD | NEW |