Ensure functions are always called with the same number of args

This commit is contained in:
Andreas Hocevar
2015-04-21 08:21:31 +02:00
parent 8fd4e2c7c5
commit 4f8dca92ba
4 changed files with 19 additions and 18 deletions

View File

@@ -86,7 +86,7 @@ ol.renderer.canvas.VectorLayer.prototype.composeFrame =
var vectorSource = this.getLayer().getSource();
goog.asserts.assertInstanceof(vectorSource, ol.source.Vector);
var transform = this.getTransform(frameState);
var transform = this.getTransform(frameState, 0);
this.dispatchPreComposeEvent(context, frameState, transform);