| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/DirectoryBasedDartSdk.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/DirectoryBasedDartSdk.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/DirectoryBasedDartSdk.java
|
| index df387bddb07106318e6557ce264311a490a26ea7..908f43f4da7abaebe7c5c1745773ff57d2422a11 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/DirectoryBasedDartSdk.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/sdk/DirectoryBasedDartSdk.java
|
| @@ -294,6 +294,11 @@ public class DirectoryBasedDartSdk implements DartSdk {
|
| return libraryMap.getSdkLibraries();
|
| }
|
|
|
| + @Override
|
| + public SdkLibrary getSdkLibrary(String dartUri) {
|
| + return libraryMap.getLibrary(dartUri);
|
| + }
|
| +
|
| /**
|
| * Return the revision number of this SDK, or {@code "0"} if the revision number cannot be
|
| * discovered.
|
| @@ -366,7 +371,7 @@ public class DirectoryBasedDartSdk implements DartSdk {
|
|
|
| @Override
|
| public Source mapDartUri(ContentCache contentCache, String dartUri) {
|
| - SdkLibrary library = libraryMap.getLibrary(dartUri);
|
| + SdkLibrary library = getSdkLibrary(dartUri);
|
| if (library == null) {
|
| return null;
|
| }
|
|
|