Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: debugger/SkDebugger.h

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/SkDebugger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/SkDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698