B2G/gecko/browser/devtools/tilt/TiltVisualizer.jsm
/**
   * Called when the content window of the current browser is resized.
   */
Called when the content window of the current browser is resized.
Called when the content window of the current browser is resized .
function TVP_onResize(e)
  {
    let zoom = this.chromeWindow.InspectorUI.highlighter.zoom;
    let width = e.target.innerWidth * zoom;
    let height = e.target.innerHeight * zoom;
    this._renderer.width = width;
    this._renderer.height = height;
    this._redraw = true;
  }
function TVP_onResize ( e ) { let zoom = this . chromeWindow . InspectorUI . highlighter . zoom ; let width = e . target . innerWidth * zoom ; let height = e . target . innerHeight * zoom ; this . _renderer . width = width ; this . _renderer . height = height ; this . _redraw = true ; }
Called when the content window of the current browser is resized.
Called when the content window of the current browser is resized .
// handle aspect ratio changes to update the projection matrix