backout dataloss-causing fixes for 143862 and 156719, a=asa

git-svn-id: svn://10.0.0.236/trunk@125515 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
leaf%mozilla.org
2002-07-19 21:58:09 +00:00
parent 3816d9f036
commit d71824c07d
5 changed files with 5 additions and 33 deletions

View File

@@ -12225,14 +12225,6 @@ nsCSSFrameConstructor::RecreateFramesForContent(nsIPresContext* aPresContext,
rv = ContentInserted(aPresContext, container, aContent, indexInContainer, mTempFrameTreeState, PR_FALSE);
}
}
} else {
// The content is the root node, so just rebuild the world.
#ifdef DEBUG
nsCOMPtr<nsIDocument> doc;
aContent->GetDocument(*getter_AddRefs(doc));
NS_ASSERTION(doc, "content not in document");
#endif
ReconstructDocElementHierarchy(aPresContext);
}
return rv;
}