File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ goog.require('goog.net.XhrIo');
4343goog . require ( 'goog.singleton' ) ;
4444goog . require ( 'goog.structs.Map' ) ;
4545goog . require ( 'goog.structs.PriorityPool' ) ;
46- goog . require ( 'safevalues' ) ;
46+ goog . require ( 'safevalues.index ' ) ;
4747
4848/**
4949 * A manager of a TokenPool.
@@ -521,9 +521,20 @@ ee.MapTileManager.Request_ = class extends goog.Disposable {
521521 var objectUrl , ok ;
522522 if ( xhrIo . getStatus ( ) >= 200 && xhrIo . getStatus ( ) < 300 ) {
523523 try {
524- objectUrl = safevalues . unwrapUrl ( safevalues . objectUrlFromSafeSource (
525- /** @type {!Blob } */ ( xhrIo . getResponse ( ) ) ) ) ;
526- ok = ( objectUrl !== safevalues . INNOCUOUS_URL . toString ( ) ) ;
524+ objectUrl =
525+ goog . module
526+ . get ( 'safevalues.index' )
527+ . unwrapUrl (
528+ goog . module
529+ . get (
530+ 'safevalues.index' )
531+ . objectUrlFromSafeSource (
532+ /** @type {!Blob } */ ( xhrIo . getResponse ( ) ) ) ) ;
533+ ok =
534+ ( objectUrl !==
535+ goog . module
536+ . get ( 'safevalues.index' )
537+ . INNOCUOUS_URL . toString ( ) ) ;
527538 } catch ( e ) {
528539 // Browser did not support blob response, or we made a mistake. We
529540 // will fall back to re-requesting the tile as an image since ok is
You can’t perform that action at this time.
0 commit comments