Get rid of unnecessary cast

This commit is contained in:
Rachel Fenichel
2019-08-23 15:58:24 -07:00
parent a9189f01bc
commit 70eb19ae09

View File

@@ -44,8 +44,7 @@ goog.require('Blockly.geras.RenderInfo');
Blockly.geras.Drawer = function(block, info) {
Blockly.geras.Drawer.superClass_.constructor.call(this, block, info);
// Unlike Thrasos, Geras has highlights and drop shadows.
this.highlighter_ = new Blockly.geras.Highlighter(
/** @type {!Blockly.geras.RenderInfo} */ (this.info_), this.pathObject_);
this.highlighter_ = new Blockly.geras.Highlighter(info, this.pathObject_);
};
goog.inherits(Blockly.geras.Drawer, Blockly.blockRendering.Drawer);