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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 667983002: Arity indexing in dart:blink entry points (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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:
Download patch
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 95b421973f666d6fd81eba4fa3c803931ce78437..1c465c629b097d4df8e7f2270c67bb4f06de58d2 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -25541,10 +25541,10 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
var requestInitDict_1 = convertDartToNative_Dictionary(requestInitDict);
return _fetch_2(request, requestInitDict_1);
}
- if ((request is Request || request == null) && requestInitDict == null) {
+ if ((request is _Request || request == null) && requestInitDict == null) {
return _fetch_3(request);
}
- if (requestInitDict != null && (request is Request || request == null)) {
+ if (requestInitDict != null && (request is _Request || request == null)) {
var requestInitDict_2 = convertDartToNative_Dictionary(requestInitDict);
return _fetch_4(request, requestInitDict_2);
}
@@ -25564,12 +25564,12 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
@DomName('ServiceWorkerGlobalScope.fetch')
@DocsEditable()
@Experimental() // untriaged
- Future _fetch_3(Request request) native;
+ Future _fetch_3(_Request request) native;
@JSName('fetch')
@DomName('ServiceWorkerGlobalScope.fetch')
@DocsEditable()
@Experimental() // untriaged
- Future _fetch_4(Request request, requestInitDict) native;
+ Future _fetch_4(_Request request, requestInitDict) native;
@DomName('ServiceWorkerGlobalScope.onmessage')
@DocsEditable()
« no previous file with comments | « sdk/lib/_blink/dartium/_blink_dartium.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698