From 70eb19ae094915eb172625ad8d8f65af39e8ff7a Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 23 Aug 2019 15:58:24 -0700 Subject: [PATCH] Get rid of unnecessary cast --- core/renderers/geras/drawer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/renderers/geras/drawer.js b/core/renderers/geras/drawer.js index 170336515..82461e7e5 100644 --- a/core/renderers/geras/drawer.js +++ b/core/renderers/geras/drawer.js @@ -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);