Index: debugger/SkDebugger.cpp |
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp |
index 8833df3e7bd30aed15b5900c61c7c8e04ad88912..b2200433b242726eb8fe8294c02c1bcf08e179f8 100644 |
--- a/debugger/SkDebugger.cpp |
+++ b/debugger/SkDebugger.cpp |
@@ -98,7 +98,7 @@ void SkDebugger::getOverviewText(const SkTDArray<double>* typeTimes, |
overview->append(SkDrawCommand::GetCommandString((DrawType) i)); |
overview->append(": "); |
overview->appendS32(counts[i]); |
- if (NULL != typeTimes && totTime >= 0.0) { |
+ if (typeTimes && totTime >= 0.0) { |
overview->append(" - "); |
overview->appendf("%.2f", (*typeTimes)[i]/(float)numRuns); |
overview->append("ms"); |
@@ -115,7 +115,7 @@ void SkDebugger::getOverviewText(const SkTDArray<double>* typeTimes, |
total += counts[i]; |
} |
#ifdef SK_DEBUG |
- if (NULL != typeTimes) { |
+ if (typeTimes) { |
SkASSERT(SkScalarNearlyEqual(SkDoubleToScalar(totPercent), |
SkDoubleToScalar(100.0))); |
SkASSERT(SkScalarNearlyEqual(SkDoubleToScalar(tempSum), |