Index: debugger/SkDebugger.h |
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h |
index 9ad21e24509c315f8bd83e2d3430159fca8e3377..53b480a28d12b0a3fbcccacd2eccee22a99f446e 100644 |
--- a/debugger/SkDebugger.h |
+++ b/debugger/SkDebugger.h |
@@ -100,25 +100,25 @@ public: |
} |
void setOverdrawViz(bool overDrawViz) { |
- if (NULL != fDebugCanvas) { |
+ if (fDebugCanvas) { |
fDebugCanvas->setOverdrawViz(overDrawViz); |
} |
} |
void setPathOps(bool pathOps) { |
- if (NULL != fDebugCanvas) { |
+ if (fDebugCanvas) { |
fDebugCanvas->setAllowSimplifyClip(pathOps); |
} |
} |
void setMegaViz(bool megaViz) { |
- if (NULL != fDebugCanvas) { |
+ if (fDebugCanvas) { |
fDebugCanvas->setMegaVizMode(megaViz); |
} |
} |
void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level) { |
- if (NULL != fDebugCanvas) { |
+ if (fDebugCanvas) { |
fDebugCanvas->overrideTexFiltering(texFilterOverride, level); |
} |
} |