delete mCachedOffsetForFrame;
nsTypedSelection::~nsTypedSelection(){  setAnchorFocusRange(-1);  if (mAutoScrollTimer) {    mAutoScrollTimer->Stop();    NS_RELEASE(mAutoScrollTimer);  }  if (mEventQueue && mScrollEventPosted) {    mEventQueue->RevokeEvents(this);    mScrollEventPosted = PR_FALSE;  }}