Use super.method instead of prototype.method.call

This commit is contained in:
ahocevar
2018-08-06 15:22:22 +02:00
parent c5b42c49d5
commit 2f92e48e93
18 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
*/
disposeInternal() {
unlisten(labelCache, EventType.CLEAR, this.handleFontsChanged_, this);
CanvasLayerRenderer.prototype.disposeInternal.call(this);
super.disposeInternal();
}
/**