| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 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 #include "Benchmark.h" | 8 #include "Benchmark.h" |
| 9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 0, SkIntToScalar(20), paint); | 41 0, SkIntToScalar(20), paint); |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 private: | 45 private: |
| 46 typedef Benchmark INHERITED; | 46 typedef Benchmark INHERITED; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 /////////////////////////////////////////////////////////////////////////////// | 49 /////////////////////////////////////////////////////////////////////////////// |
| 50 | 50 |
| 51 DEF_BENCH( return SkNEW_ARGS(FontScalerBench, (false)); ) | 51 DEF_BENCH(return new FontScalerBench(false);) |
| 52 DEF_BENCH( return SkNEW_ARGS(FontScalerBench, (true)); ) | 52 DEF_BENCH(return new FontScalerBench(true);) |
| OLD | NEW |