Chromium Code Reviews| Index: sdk/lib/_blink/dartium/_blink_dartium.dart |
| diff --git a/sdk/lib/_blink/dartium/_blink_dartium.dart b/sdk/lib/_blink/dartium/_blink_dartium.dart |
| index 06f74ffcd5a1c6d889aa09c42f5b0d203a7c9d37..b7d22a8811b5428cd3eae37a92db8f20c22c106e 100644 |
| --- a/sdk/lib/_blink/dartium/_blink_dartium.dart |
| +++ b/sdk/lib/_blink/dartium/_blink_dartium.dart |
| @@ -7186,10 +7186,10 @@ Native_URL_createObjectUrl(blob_OR_source_OR_stream) { |
| if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
| return Native_URL__createObjectURL_1_Callback(blob_OR_source_OR_stream); |
| } |
| - if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) { |
| + if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) { |
| return Native_URL__createObjectURL_2_Callback(blob_OR_source_OR_stream); |
| } |
| - if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) { |
| + if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) { |
| return Native_URL__createObjectURL_3_Callback(blob_OR_source_OR_stream); |
| } |
| throw new ArgumentError("Incorrect number or type of arguments"); |
| @@ -7197,9 +7197,9 @@ Native_URL_createObjectUrl(blob_OR_source_OR_stream) { |
| Native_URL__createObjectURL_1_Callback(blob_OR_source_OR_stream) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_Blob"; |
| -Native_URL__createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_MediaStream"; |
| +Native_URL__createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_MediaSource"; |
| -Native_URL__createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_MediaSource"; |
| +Native_URL__createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_MediaStream"; |
| Native_URL_createObjectUrlFromBlob_Callback(blob) native "URL_createObjectURL_Callback_RESOLVER_STRING_1_Blob"; |
| @@ -8298,17 +8298,17 @@ Native_XSLTProcessor_transformToFragment_Callback(mthis, source, docVal) native |
| Type _getType(String key) { |
| // TODO(vsm): Add Cross Frame and JS types here as well. |
| if (htmlBlinkMap.containsKey(key)) |
|
vsm
2014/05/28 15:07:45
If initializing htmlBlinkMap is too expensive, we
siva
2014/05/30 23:53:33
If we are going to go with specialization for cert
|
| - return htmlBlinkMap[key]; |
| + return htmlBlinkMap[key](); |
| if (indexed_dbBlinkMap.containsKey(key)) |
| - return indexed_dbBlinkMap[key]; |
| + return indexed_dbBlinkMap[key](); |
| if (web_audioBlinkMap.containsKey(key)) |
| - return web_audioBlinkMap[key]; |
| + return web_audioBlinkMap[key](); |
| if (web_glBlinkMap.containsKey(key)) |
| - return web_glBlinkMap[key]; |
| + return web_glBlinkMap[key](); |
| if (web_sqlBlinkMap.containsKey(key)) |
| - return web_sqlBlinkMap[key]; |
| + return web_sqlBlinkMap[key](); |
| if (svgBlinkMap.containsKey(key)) |
| - return svgBlinkMap[key]; |
| + return svgBlinkMap[key](); |
| return null; |
| }// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |