| Index: src/utils/SkPatchUtils.cpp
|
| diff --git a/src/utils/SkPatchUtils.cpp b/src/utils/SkPatchUtils.cpp
|
| index e9ff906dd24f13a4965042f28235de0ea9ee9b3c..ad846f7ba20d739a78f3a10d2554da5f77c9671f 100644
|
| --- a/src/utils/SkPatchUtils.cpp
|
| +++ b/src/utils/SkPatchUtils.cpp
|
| @@ -191,7 +191,7 @@ void SkPatchUtils::getRightCubic(const SkPoint cubics[12], SkPoint points[4]) {
|
|
|
| bool SkPatchUtils::getVertexData(SkPatchUtils::VertexData* data, const SkPoint cubics[12],
|
| const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) {
|
| - if (lodX < 1 || lodY < 1 || NULL == cubics || NULL == data) {
|
| + if (lodX < 1 || lodY < 1 || nullptr == cubics || nullptr == data) {
|
| return false;
|
| }
|
|
|
|
|