EnterReflowLock();
WillCauseReflow();
PresShell::StyleRuleAdded(nsIDocument *aDocument,                          nsIStyleSheet* aStyleSheet,                          nsIStyleRule* aStyleRule) {   EnterReflowLock();  nsresult rv = mStyleSet->StyleRuleAdded(mPresContext, aStyleSheet,                                          aStyleRule);  VERIFY_STYLE_TREE;  ExitReflowLock(PR_TRUE);  if (NS_FAILED(rv)) {    return rv;  }  // XXX For now reconstruct everything  return ReconstructFrames();}