| 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 bb8082720295060a9f7760450c8e06cfccb05766..a0fce4b249cd5e202bed23b9540030c09f86b051 100644
|
| --- a/sdk/lib/_blink/dartium/_blink_dartium.dart
|
| +++ b/sdk/lib/_blink/dartium/_blink_dartium.dart
|
| @@ -9,6 +9,7 @@ library dart.dom._blink;
|
|
|
| import 'dart:js' as js;
|
| import 'dart:html' show DomException;
|
| +import 'dart:_internal' as internal;
|
|
|
| // This is a place to put custom renames if we need them.
|
| final resolverMap = {
|
| @@ -23275,6 +23276,12 @@ class Blink_Utils {
|
|
|
| static register(document, tag, customType, extendsTagName) native "Utils_register";
|
|
|
| + // Below code sets up VMLibraryHooks for resolvePackageUri.
|
| + static Uri resolvePackageUri(Uri packageUri) native "Utils_resolvePackageUri";
|
| + static void _setupHooks() {
|
| + internal.VMLibraryHooks.resolvePackageUriFuture = resolvePackageUri;
|
| + }
|
| +
|
| // Defines an interceptor if there is an appropriate JavaScript prototype to define it on.
|
| // In any case, returns a typed JS wrapper compatibile with dart:html and the new
|
| // typed JS Interop.
|
|
|