if (!tracker)
if (!shell)
nsTypedSelection::GetPresContext(nsPresContext **aPresContext){  if (!mFrameSelection)    return NS_ERROR_FAILURE;//nothing to do  nsIFocusTracker *tracker = mFrameSelection->GetTracker();  if (!tracker)    return NS_ERROR_NULL_POINTER;  return tracker->GetPresContext(aPresContext);}