Remove goog.addSingletonGetter function

This commit is contained in:
Frederic Junod
2016-08-08 10:48:13 +02:00
parent 41a0c6ed39
commit fbb585c5d8
10 changed files with 46 additions and 33 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ goog.require('ol.events.EventType');
goog.require('ol.extent');
goog.require('ol.functions');
goog.require('ol.layer.Layer');
goog.require('ol.style.IconImageCache');
goog.require('ol.style.iconImageCache');
/**
@@ -104,7 +104,7 @@ ol.renderer.Map.prototype.disposeInternal = function() {
* @private
*/
ol.renderer.Map.expireIconCache_ = function(map, frameState) {
ol.style.IconImageCache.getInstance().expire();
ol.style.iconImageCache.expire();
};