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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/resolver.dart

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing files Created 7 years, 7 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: pkg/analyzer_experimental/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/resolver.dart b/pkg/analyzer_experimental/lib/src/generated/resolver.dart
index fc7b84d16f33e328f44b400c28a9d9a7c25ec549..55ef00785a21bec8efd8328cecb18ddd9208fd1a 100644
--- a/pkg/analyzer_experimental/lib/src/generated/resolver.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/resolver.dart
@@ -4,7 +4,6 @@
library engine.resolver;
import 'dart:collection';
-import 'dart:uri' show Uri;
import 'java_core.dart';
import 'java_engine.dart';
import 'instrumentation.dart';
@@ -880,7 +879,7 @@ class HtmlUnitBuilder implements ht.XmlVisitor<Object> {
ExternalHtmlScriptElementImpl script = new ExternalHtmlScriptElementImpl(node);
if (scriptSourcePath != null) {
try {
- new Uri(scriptSourcePath);
+ Uri.parse(scriptSourcePath);
Source scriptSource = _context.sourceFactory.resolveUri(htmlSource, scriptSourcePath);
script.scriptSource = scriptSource;
if (!scriptSource.exists()) {
@@ -8417,4 +8416,4 @@ class ResolverErrorCode implements Comparable<ResolverErrorCode>, ErrorCode {
bool needsRecompilation() => true;
int compareTo(ResolverErrorCode other) => __ordinal - other.__ordinal;
String toString() => __name;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698