OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/glue/webkitplatformsupport_impl.h" | 5 #include "webkit/glue/webkitplatformsupport_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 if (--shared_timer_suspended_ == 0 && | 892 if (--shared_timer_suspended_ == 0 && |
893 (!shared_timer_.IsRunning() || | 893 (!shared_timer_.IsRunning() || |
894 shared_timer_fire_time_was_set_while_suspended_)) { | 894 shared_timer_fire_time_was_set_while_suspended_)) { |
895 shared_timer_fire_time_was_set_while_suspended_ = false; | 895 shared_timer_fire_time_was_set_while_suspended_ = false; |
896 setSharedTimerFireInterval( | 896 setSharedTimerFireInterval( |
897 shared_timer_fire_time_ - monotonicallyIncreasingTime()); | 897 shared_timer_fire_time_ - monotonicallyIncreasingTime()); |
898 } | 898 } |
899 } | 899 } |
900 | 900 |
901 } // namespace webkit_glue | 901 } // namespace webkit_glue |
OLD | NEW |