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

Unified Diff: sdk/lib/_internal/compiler/implementation/native_handler.dart

Issue 11316264: Snapshotting changes for dart:html_common (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes to allow dart:html_common to be included in Dartium snapshots. Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/native_handler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/native_handler.dart b/sdk/lib/_internal/compiler/implementation/native_handler.dart
index 038dc439bdeaddab2efba13b169ac7c874aeb819..91f5822e6c26476908d019dad8b1e5741e0ce564 100644
--- a/sdk/lib/_internal/compiler/implementation/native_handler.dart
+++ b/sdk/lib/_internal/compiler/implementation/native_handler.dart
@@ -355,6 +355,7 @@ void maybeEnableNative(Compiler compiler,
String libraryName = uri.toString();
if (library.entryCompilationUnit.script.name.contains(
'dart/tests/compiler/dart2js_native')
+ || libraryName == 'dart:html_common'
|| libraryName == 'dart:isolate'
|| libraryName == 'dart:html'
|| libraryName == 'dart:svg'

Powered by Google App Engine
This is Rietveld 408576698