Index: debugger/SkDebugger.cpp |
=================================================================== |
--- debugger/SkDebugger.cpp (revision 9244) |
+++ debugger/SkDebugger.cpp (working copy) |
@@ -77,7 +77,7 @@ |
overview->append(SkDrawCommand::GetCommandString((DrawType) i)); |
overview->append(": "); |
overview->appendS32(counts[i]); |
- if (NULL != typeTimes) { |
+ if (NULL != typeTimes && totTime >= 0.0) { |
overview->append(" - "); |
overview->appendf("%.2f", (*typeTimes)[i]/(float)numRuns); |
overview->append("ms"); |