Bug 1369586 - Fix eslint error with 'currentZoom' variable never being used in css-grid.js. r=me
authorGabriel Luong <gabriel.luong@gmail.com>
Mon, 05 Jun 2017 15:41:27 -0400
changeset 362380 a312474c646c41b28e6ef3f4cdb7a1d45056c3df
parent 362379 4d5328d66663b380382913a36caf877c65258540
child 362381 2c25fe3b1af68748d01e8949585a44148649552c
push id91067
push usergabriel.luong@gmail.com
push dateMon, 05 Jun 2017 19:41:56 +0000
treeherdermozilla-inbound@a312474c646c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1369586
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1369586 - Fix eslint error with 'currentZoom' variable never being used in css-grid.js. r=me
devtools/server/actors/highlighters/css-grid.js
--- a/devtools/server/actors/highlighters/css-grid.js
+++ b/devtools/server/actors/highlighters/css-grid.js
@@ -1151,17 +1151,16 @@ CssGridHighlighter.prototype = extend(Au
    *         The grid fragment of the grid container.
    * @param  {Object} area
    *         The area overlay to render on the CSS highlighter canvas.
    */
   renderGridAreaName(fragment, area) {
     let { rowStart, rowEnd, columnStart, columnEnd } = area;
     let { devicePixelRatio } = this.win;
     let displayPixelRatio = getDisplayPixelRatio(this.win);
-    let currentZoom = getCurrentZoom(this.win);
     let offset = (displayPixelRatio / 2) % 1;
     let fontSize = (GRID_AREA_NAME_FONT_SIZE * displayPixelRatio);
 
     this.ctx.save();
 
     let canvasX = Math.round(this._canvasPosition.x * devicePixelRatio);
     let canvasY = Math.round(this._canvasPosition.y * devicePixelRatio);
     this.ctx.translate(offset - canvasX, offset - canvasY);