const nsPIDOMWindow *win = GetCurrentInnerWindow();
const nsPIDOMWindow *win;
  PRBool IsHandlingResizeEvent() const  {    const nsPIDOMWindow *win = GetCurrentInnerWindow();    if (!win) {      win = this;    }    return win->mIsHandlingResizeEvent;  }