Chromium Code Reviews| Index: include/views/SkView.h |
| diff --git a/include/views/SkView.h b/include/views/SkView.h |
| index d03c7415ebb2923a57e8491ed9857eb2463c54ae..c083cf1bb8dbe9d40b3388c2e23abe44e41f7e76 100644 |
| --- a/include/views/SkView.h |
| +++ b/include/views/SkView.h |
| @@ -210,7 +210,7 @@ public: |
| * Return true on success; false on failure |
| */ |
| bool globalToLocal(SkPoint* pt) const { |
| - if (NULL != pt) { |
| + if (pt) { |
| return this->globalToLocal(pt->fX, pt->fY, pt); |
| } |
| return true; // nothing to do so return true |