diff options
| author | 2015-01-06 00:50:52 +0000 | |
|---|---|---|
| committer | 2015-01-06 00:50:53 +0000 | |
| commit | b15f21effb8d5be988bb46eea00b6ff28222aa98 (patch) | |
| tree | 1e972cc58de13661c5db8bf76d3b8d860a0bcfb4 /libs/hwui/SpotShadow.cpp | |
| parent | 578efef682cc2216db121bb88d2af977703ee6e2 (diff) | |
| parent | d41c4d8c732095ae99c955b6b82f7306633004b1 (diff) | |
Merge "Add overrides and switch to nullptr keyword for all files"
Diffstat (limited to 'libs/hwui/SpotShadow.cpp')
| -rw-r--r-- | libs/hwui/SpotShadow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/SpotShadow.cpp b/libs/hwui/SpotShadow.cpp index b3cfde2f7521..a03192abf35a 100644 --- a/libs/hwui/SpotShadow.cpp +++ b/libs/hwui/SpotShadow.cpp @@ -332,7 +332,7 @@ bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint, * @param len the number of points of the polygon */ void SpotShadow::makeClockwise(Vector2* polygon, int len) { - if (polygon == 0 || len == 0) { + if (polygon == nullptr || len == 0) { return; } if (!ShadowTessellator::isClockwise(polygon, len)) { |