| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index 2df51d4c8d8b4ae6cff8f05ff7fbf1b558aa3c3a..4abf7b1e36845fd96fff29f6799e183a5b77823d 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -19,8 +19,10 @@ import 'package:analyzer/src/generated/resolver.dart';
|
| import 'package:analyzer/src/generated/source_io.dart';
|
| import 'package:analyzer/src/generated/testing/ast_factory.dart';
|
| import 'package:analyzer/src/generated/testing/token_factory.dart';
|
| +import 'package:analyzer/src/generated/utilities_dart.dart';
|
| import 'package:analyzer/src/summary/format.dart';
|
| import 'package:analyzer/src/summary/idl.dart';
|
| +import 'package:analyzer/src/util/fast_uri.dart';
|
|
|
| /**
|
| * Implementation of [ElementResynthesizer] used when resynthesizing an element
|
| @@ -1160,9 +1162,8 @@ class _LibraryResynthesizerContext implements LibraryResynthesizerContext {
|
| }
|
|
|
| LibraryElementHandle _getLibraryByRelativeUri(String depUri) {
|
| - String absoluteUri = resynthesizer.summaryResynthesizer.sourceFactory
|
| - .resolveUri(resynthesizer.librarySource, depUri)
|
| - .uri
|
| + String absoluteUri = resolveRelativeUri(
|
| + resynthesizer.librarySource.uri, FastUri.parse(depUri))
|
| .toString();
|
| return new LibraryElementHandle(resynthesizer.summaryResynthesizer,
|
| new ElementLocationImpl.con3(<String>[absoluteUri]));
|
|
|