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

Unified Diff: pkg/compiler/lib/src/parser/element_listener.dart

Issue 1884793002: dart2js: remove references to compiler in ResolvedUriTranslator (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/compiler/lib/src/parser/element_listener.dart
diff --git a/pkg/compiler/lib/src/parser/element_listener.dart b/pkg/compiler/lib/src/parser/element_listener.dart
index b089ae5202aba3eab0f8abd37221ab3f4d2abaf6..99717fa0ec90f5e28083469c836a70bb5db8f4d5 100644
--- a/pkg/compiler/lib/src/parser/element_listener.dart
+++ b/pkg/compiler/lib/src/parser/element_listener.dart
@@ -51,9 +51,6 @@ class ScannerOptions {
final bool canUseNative;
const ScannerOptions({this.canUseNative: false});
-
- ScannerOptions.from(Compiler compiler, LibraryElement libraryElement)
- : canUseNative = compiler.backend.canLibraryUseNative(libraryElement);
}
/**

Powered by Google App Engine
This is Rietveld 408576698