else {
else
PresShell::ReconstructStyleData(){  nsIFrame* rootFrame;  GetRootFrame(&rootFrame);  if (!rootFrame)    return NS_OK;  nsCOMPtr<nsIStyleSet> set;  GetStyleSet(getter_AddRefs(set));  if (!set)    return NS_OK;  nsCOMPtr<nsIStyleFrameConstruction> cssFrameConstructor;  set->GetStyleFrameConstruction(getter_AddRefs(cssFrameConstructor));  if (!cssFrameConstructor)    return NS_OK;  nsCOMPtr<nsIFrameManager> frameManager;  GetFrameManager(getter_AddRefs(frameManager));    // Now handle some of our more problematic widgets (and also deal with  // skin XBL changing).  nsStyleChangeList changeList;  nsChangeHint frameChange = NS_STYLE_HINT_NONE;  frameManager->ComputeStyleChangeFor(rootFrame, kNameSpaceID_Unknown, nsnull,                                      changeList, NS_STYLE_HINT_NONE,                                      frameChange);  if (frameChange & nsChangeHint_ReconstructDoc)    set->ReconstructDocElementHierarchy(mPresContext);  else {    cssFrameConstructor->ProcessRestyledFrames(changeList, mPresContext);  }  VERIFY_STYLE_TREE;    return NS_OK;}