| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 | 8 |
| 10 #include "SkAntiRun.h" | 9 #include "SkAntiRun.h" |
| 11 #include "SkUtils.h" | 10 #include "SkUtils.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 63 |
| 65 while (*runs) { | 64 while (*runs) { |
| 66 SkASSERT(*runs > 0); | 65 SkASSERT(*runs > 0); |
| 67 count += *runs; | 66 count += *runs; |
| 68 SkASSERT(count <= fWidth); | 67 SkASSERT(count <= fWidth); |
| 69 runs += *runs; | 68 runs += *runs; |
| 70 } | 69 } |
| 71 SkASSERT(count == fWidth); | 70 SkASSERT(count == fWidth); |
| 72 } | 71 } |
| 73 #endif | 72 #endif |
| OLD | NEW |