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

Unified Diff: sdk/lib/html/html_common/html_common_dart2js.dart

Issue 18054021: Fixing up DOM constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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: sdk/lib/html/html_common/html_common_dart2js.dart
diff --git a/sdk/lib/html/html_common/html_common_dart2js.dart b/sdk/lib/html/html_common/html_common_dart2js.dart
index dbf9352ba92e3952ade9e72279a31be379f03310..c33cce538198e19909d15c65efb46fba70c8283d 100644
--- a/sdk/lib/html/html_common/html_common_dart2js.dart
+++ b/sdk/lib/html/html_common/html_common_dart2js.dart
@@ -9,7 +9,7 @@ import 'dart:html';
import 'dart:typed_data';
import 'dart:_js_helper' show Creates, Returns;
import 'dart:_foreign_helper' show JS;
-import 'dart:_interceptors' show JSExtendableArray;
+import 'dart:_interceptors' show Interceptor, JSExtendableArray;
import 'metadata.dart';
export 'metadata.dart';
@@ -23,3 +23,11 @@ part 'lists.dart';
// For annotating deprecated APIs.
// TODO: remove once @deprecated is added to dart core.
const deprecated = 0;
+
+
+class NativeFieldWrapperClass1 extends Interceptor {
sra1 2013/06/28 21:57:04 Why is this here, especially since the classes exp
blois 2013/06/28 23:38:35 Ack, this was from earlier investigations. Removed
+ NativeFieldWrapperClass1() {
+ throw new UnsupportedError(
+ "Generative constructors not supported on native types.");
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698