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

Unified Diff: dart/frog/leg/scanner/scanner_task.dart

Issue 9568008: Do not allow native syntax on all libraries. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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: dart/frog/leg/scanner/scanner_task.dart
===================================================================
--- dart/frog/leg/scanner/scanner_task.dart (revision 4858)
+++ dart/frog/leg/scanner/scanner_task.dart (working copy)
@@ -15,7 +15,7 @@
if (compilationUnit.kind === ElementKind.LIBRARY) {
processScriptTags(compilationUnit);
}
- native.processNativeClasses(compiler, compilationUnit);
+ compiler.nativeHandler.processNativeClasses(compilationUnit);
});
}
@@ -92,7 +92,7 @@
newLibrary = true;
Script script = compiler.readScript(uri, node);
LibraryElement element = new LibraryElement(script);
- native.checkNativeSupport(compiler, element, uri);
+ compiler.nativeHandler.checkNativeSupport(element, uri);
return element;
});
if (newLibrary) {

Powered by Google App Engine
This is Rietveld 408576698