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

Unified Diff: compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java

Issue 9651004: Make SourceInfo a class, rename its menthods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for formatting, lazily create LainesInfo Created 8 years, 9 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
Index: compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java b/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
index b0ad21504da9089ae43f161d03ce7d1751fbebd3..293db384ff5780f50819ee4d56c136a297810c77 100644
--- a/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
+++ b/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
@@ -46,7 +46,8 @@ public class DotWriter extends BaseASTWriter {
nodes = new StringBuffer();
currentUnit = unit;
if (!isIgnored(unit)) {
- String dotFilePath = outputDir + File.separator + unit.getSource().getUri() + ".ast.dot";
+ String dotFilePath =
+ outputDir + File.separator + unit.getSourceInfo().getSource().getUri() + ".ast.dot";
makeParentDirs(dotFilePath);
try {
out = new FileWriter(new File(dotFilePath));

Powered by Google App Engine
This is Rietveld 408576698