| Index: src/utils/debugger/SkDebugCanvas.h
|
| diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h
|
| index 4bb33b747546828904a26ad4a5395d9b5a2627b2..c61627d71d3230ae8320ddf4493bb4585df81c0a 100644
|
| --- a/src/utils/debugger/SkDebugCanvas.h
|
| +++ b/src/utils/debugger/SkDebugCanvas.h
|
| @@ -208,7 +208,7 @@ public:
|
| virtual bool isClipEmpty() const SK_OVERRIDE { return false; }
|
| virtual bool isClipRect() const SK_OVERRIDE { return true; }
|
| virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE {
|
| - if (NULL != bounds) {
|
| + if (bounds) {
|
| bounds->setXYWH(0, 0,
|
| SkIntToScalar(this->imageInfo().width()),
|
| SkIntToScalar(this->imageInfo().height()));
|
| @@ -216,7 +216,7 @@ public:
|
| return true;
|
| }
|
| virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE {
|
| - if (NULL != bounds) {
|
| + if (bounds) {
|
| bounds->setLargest();
|
| }
|
| return true;
|
| @@ -308,7 +308,7 @@ private:
|
|
|
| size_t getOpID() const {
|
| #if 0
|
| - if (NULL != fPicture) {
|
| + if (fPicture) {
|
| return fPicture->EXPERIMENTAL_curOpID();
|
| }
|
| #endif
|
|
|