| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/base/sorted_array_utils.html"> | 8 <link rel="import" href="/tracing/base/sorted_array_utils.html"> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 findLowIndexInSortedArray(this.sfVsyncTimestamps_, | 97 findLowIndexInSortedArray(this.sfVsyncTimestamps_, |
| 98 function(x) { return x; }, | 98 function(x) { return x; }, |
| 99 timestamp + this.deadlineDelayMs_); | 99 timestamp + this.deadlineDelayMs_); |
| 100 if (firstGreaterIndex >= this.sfVsyncTimestamps_.length) | 100 if (firstGreaterIndex >= this.sfVsyncTimestamps_.length) |
| 101 return undefined; | 101 return undefined; |
| 102 return this.sfVsyncTimestamps_[firstGreaterIndex]; | 102 return this.sfVsyncTimestamps_[firstGreaterIndex]; |
| 103 } | 103 } |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 return { | 106 return { |
| 107 AndroidSurfaceFlinger: AndroidSurfaceFlinger | 107 AndroidSurfaceFlinger, |
| 108 }; | 108 }; |
| 109 }); | 109 }); |
| 110 </script> | 110 </script> |
| OLD | NEW |