| 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 "GrRectanizer_skyline.h" | 9 #include "GrRectanizer_skyline.h" |
| 10 #include "SkPoint.h" | 10 #include "SkPoint.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 fSkyline[i].fWidth += fSkyline[i+1].fWidth; | 111 fSkyline[i].fWidth += fSkyline[i+1].fWidth; |
| 112 fSkyline.remove(i+1); | 112 fSkyline.remove(i+1); |
| 113 --i; | 113 --i; |
| 114 } | 114 } |
| 115 } | 115 } |
| 116 } | 116 } |
| 117 | 117 |
| 118 /////////////////////////////////////////////////////////////////////////////// | 118 /////////////////////////////////////////////////////////////////////////////// |
| 119 | 119 |
| 120 GrRectanizer* GrRectanizer::Factory(int width, int height) { | 120 GrRectanizer* GrRectanizer::Factory(int width, int height) { |
| 121 return SkNEW_ARGS(GrRectanizerSkyline, (width, height)); | 121 return new GrRectanizerSkyline(width, height); |
| 122 } | 122 } |
| OLD | NEW |