Remove use of goog.object.remove

This commit is contained in:
Frederic Junod
2015-09-22 12:03:52 +02:00
parent 9f57e57400
commit b128675e60
8 changed files with 14 additions and 16 deletions

View File

@@ -425,7 +425,7 @@ ol.pointer.TouchSource.prototype.cancelOut_ =
* @param {Object} inPointer
*/
ol.pointer.TouchSource.prototype.cleanUpPointer_ = function(inPointer) {
goog.object.remove(this.pointerMap, inPointer.pointerId);
delete this.pointerMap[inPointer.pointerId];
this.removePrimaryPointer_(inPointer);
};