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

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

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years 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/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 32c597ff41f99635f8645a7a76c352c1cc8942b3..bec6b3d67a392b719e3546c8a5419640924f1ae9 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -505,16 +505,18 @@ abstract class Compiler implements DiagnosticListener {
bool nativeTest = library.entryCompilationUnit.script.name.contains(
'dart/tests/compiler/dart2js_native');
if (nativeTest
+ || libraryName == 'dart:html_common'
|| libraryName == 'dart:mirrors'
|| libraryName == 'dart:isolate'
|| libraryName == 'dart:math'
|| libraryName == 'dart:html'
- || libraryName == 'dart:html_common'
+ || libraryName == 'dart:indexed_db'
|| libraryName == 'dart:svg'
|| libraryName == 'dart:web_audio') {
if (nativeTest
|| libraryName == 'dart:html'
|| libraryName == 'dart:html_common'
+ || libraryName == 'dart:indexed_db'
|| libraryName == 'dart:svg'
|| libraryName == 'dart:mirrors') {
// dart:html and dart:svg need access to convertDartClosureToJS and

Powered by Google App Engine
This is Rietveld 408576698