ClearStyleDataAndReflow();
nsPresContext::ClearStyleDataAndReflow(); return NS_OK;
nsPresContext::SysColorChanged(){  if (mLookAndFeel) {     // Don't use the cached values for the system colors    mLookAndFeel->LookAndFeelChanged();  }     // Reset default background and foreground colors for the document since  // they may be using system colors  GetDocumentColorPreferences();  // Clear out all of the style data since it may contain RGB values  // which originated from system colors.  nsCOMPtr<nsISelectionImageService> imageService;  nsresult result;  imageService = do_GetService(kSelectionImageService, &result);  if (NS_SUCCEEDED(result) && imageService)  {    imageService->Reset();  }  // We need to do a full reflow (and view update) here. Clearing the style  // data without reflowing/updating views will lead to incorrect change hints  // later, because when generating change hints, any style structs which have  // been cleared and not reread are assumed to not be used at all.  ClearStyleDataAndReflow();}