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

Unified Diff: sdk/lib/html/dartium/nativewrappers.dart

Issue 2511083003: VM: [Kernel] Make NativeFieldWrapperClass[1-4] constructible when running from Kernel. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/nativewrappers.dart
diff --git a/sdk/lib/html/dartium/nativewrappers.dart b/sdk/lib/html/dartium/nativewrappers.dart
index 441749c6b66ebc76d5ac7de7a4650d0a653c4e1d..0d4e1119048cebdd516b9136d2a6485d8f98f0b5 100644
--- a/sdk/lib/html/dartium/nativewrappers.dart
+++ b/sdk/lib/html/dartium/nativewrappers.dart
@@ -4,31 +4,10 @@
library nativewrappers;
-class NativeFieldWrapperClass1 {
- NativeFieldWrapperClass1() {
- throw new UnsupportedError(
- "Generative constructors not supported on native types.");
- }
-}
+class NativeFieldWrapperClass1 { }
-class NativeFieldWrapperClass2 {
- NativeFieldWrapperClass2() {
- throw new UnsupportedError(
- "Generative constructors not supported on native types.");
- }
-}
+class NativeFieldWrapperClass2 { }
-class NativeFieldWrapperClass3 {
- NativeFieldWrapperClass3() {
- throw new UnsupportedError(
- "Generative constructors not supported on native types.");
- }
-}
-
-class NativeFieldWrapperClass4 {
- NativeFieldWrapperClass4() {
- throw new UnsupportedError(
- "Generative constructors not supported on native types.");
- }
-}
+class NativeFieldWrapperClass3 { }
+class NativeFieldWrapperClass4 { }
« no previous file with comments | « no previous file | tests/language/language_kernel.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698