Chromium Code Reviews| Index: src/utils/SkPathUtils.cpp |
| diff --git a/src/utils/SkPathUtils.cpp b/src/utils/SkPathUtils.cpp |
| index dd50ff79573222c87543f381717be91580954d82..f23432a667011d39f8285608f72d12447b300849 100644 |
| --- a/src/utils/SkPathUtils.cpp |
| +++ b/src/utils/SkPathUtils.cpp |
| @@ -97,7 +97,7 @@ static void Line2path_span(SkPath* path, const char* line, |
| void SkPathUtils::BitsToPath_Path(SkPath* path, |
| const char* bitmap, |
| - int h, int w, int stride) { |
| + int w, int h, int stride) { |
|
scroggo
2013/07/09 15:34:22
These should be fixed in the header as well.
dierk
2013/07/09 15:42:02
Done. Also changed stride to rowBytes.
|
| // loop for every line in bitmap |
| for (int i = 0; i < h; ++i) { |
| // fn ptr handles each line separately |
| @@ -109,7 +109,7 @@ void SkPathUtils::BitsToPath_Path(SkPath* path, |
| void SkPathUtils::BitsToPath_Region(SkPath* path, |
| const char* bitmap, |
| - int h, int w, int stride) { |
| + int w, int h, int stride) { |
| SkRegion region; |
| // loop for each line |