| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "Benchmark.h" | 9 #include "Benchmark.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 H = 480, | 53 H = 480, |
| 54 N = 300, | 54 N = 300, |
| 55 }; | 55 }; |
| 56 SkRect fRects[N]; | 56 SkRect fRects[N]; |
| 57 SkColor fColors[N]; | 57 SkColor fColors[N]; |
| 58 bool fInit; | 58 bool fInit; |
| 59 | 59 |
| 60 typedef Benchmark INHERITED; | 60 typedef Benchmark INHERITED; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 DEF_BENCH( return SkNEW_ARGS(FSRectBench, ()); ) | 63 DEF_BENCH(return new FSRectBench();) |
| OLD | NEW |