Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index d498d49a3dc01f136e25a5a8fac08fcaa73a8b4f..7ddcf1cacb8ec2268d18d888108af0ac3cda470f 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -114,17 +114,13 @@ void GrDrawTarget::dump() const { |
SkDebugf("\n"); |
SkDebugf("batches (%d):\n", fBatches.count()); |
for (int i = 0; i < fBatches.count(); ++i) { |
-#if 0 |
SkDebugf("*******************************\n"); |
-#endif |
- if (fBatches[i]) { |
+ if (!fBatches[i]) { |
SkDebugf("%d: <combined forward>\n", i); |
} else { |
SkDebugf("%d: %s\n", i, fBatches[i]->name()); |
-#if 0 |
SkString str = fBatches[i]->dumpInfo(); |
SkDebugf("%s\n", str.c_str()); |
-#endif |
} |
} |
} |