Index: dart/site/try/poi/poi.dart |
diff --git a/dart/site/try/poi/poi.dart b/dart/site/try/poi/poi.dart |
index d9cdeba2fb3cc6592129f0078894a5af7a97c1f0..e1755c04edc8e4fc84d2e32b87c2c672d5385a7e 100644 |
--- a/dart/site/try/poi/poi.dart |
+++ b/dart/site/try/poi/poi.dart |
@@ -55,9 +55,6 @@ import 'package:compiler/implementation/scanner/scannerlib.dart' show |
PartialElement, |
Token; |
-import 'package:compiler/implementation/util/uri_extras.dart' show |
- relativize; |
- |
/// Controls if this program should be querying Dart Mind. Used by tests. |
bool enableDartMind = true; |
@@ -335,7 +332,7 @@ class ScopeInformationVisitor extends ElementVisitor/* <void> */ { |
bool isFirst = true; |
serialize( |
e, omitEnclosing: true, |
- name: relativize(Uri.base, e.canonicalUri, false), |
+ name: e.getLibraryName(), |
serializeMembers: () { |
// TODO(ahe): Include imported elements in libraries. |
e.forEachLocalMember((Element member) { |