Index: pkg/analyzer_cli/lib/src/driver.dart |
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart |
index 4d80c619888406413934e8a63c7d191d3652cf16..2c6b74e460635094cf4d3673348deeb8c0388881 100644 |
--- a/pkg/analyzer_cli/lib/src/driver.dart |
+++ b/pkg/analyzer_cli/lib/src/driver.dart |
@@ -397,7 +397,7 @@ class Driver implements CommandLineStarter { |
// Setup embedding. |
EmbedderUriResolver embedderUriResolver = |
- new EmbedderUriResolver(embedderMap); |
+ new EmbedderUriResolver(new EmbedderSdk(embedderMap)); |
if (embedderUriResolver.length == 0) { |
// The embedder uri resolver has no mappings. Use the default Dart SDK |
// uri resolver. |