Remove unnecessary type cast

This commit is contained in:
Frederic Junod authored and Guillaume Beraudo committed 2014-09-02 15:17:32 +02:00
1 parent da2a291208
commit 4a21ad566a
3 files changed
+2 -4

No files matched your search

@@ -11,7 +11,6 @@ goog.require('ol.render.EventType');
goog.require('ol.render.canvas.ReplayGroup');
goog.require('ol.renderer.canvas.Layer');
goog.require('ol.renderer.vector');
goog.require('ol.source.Vector');
@@ -168,7 +167,6 @@ ol.renderer.canvas.VectorLayer.prototype.prepareFrame =
var vectorLayer = /** @type {ol.layer.Vector} */ (this.getLayer());
goog.asserts.assertInstanceof(vectorLayer, ol.layer.Vector);
var vectorSource = vectorLayer.getSource();
goog.asserts.assertInstanceof(vectorSource, ol.source.Vector);
this.updateAttributions(
frameState.attributions, vectorSource.getAttributions());