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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.java
index cd8e5ea8035948f768defb2d2206b1ce1895a794..31f588fb938569032a9370c3f20113cebe157a8b 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/Library.java
@@ -100,7 +100,7 @@ class Library {
void cacheLibraryUnit(AnalysisServer server, LibraryUnit libUnit) {
this.libraryUnit = libUnit;
for (DartUnit dartUnit : libUnit.getUnits()) {
- File file = toFile(server, dartUnit.getSource().getUri());
+ File file = toFile(server, dartUnit.getSourceInfo().getSource().getUri());
if (file != null) {
cacheUnit(file, dartUnit);
}

Powered by Google App Engine
This is Rietveld 408576698