Index: compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java |
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java b/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java |
index 19a6f6a2de2e04d83bfb7be05c3538106bff4a1c..7917f89f25bc5913ac70e0c3d013ece674d91309 100644 |
--- a/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java |
+++ b/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java |
@@ -19,6 +19,6 @@ public class ASTWriterFactory { |
} else if ("dot".equals(astFormat)) { |
return new DotWriter(outDir); |
} |
- return null; |
+ return new NullWriter(outDir); |
} |
} |