Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.

git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-08-02 04:52:55 +00:00
parent d73595ecf1
commit 736c955c54
60 changed files with 201 additions and 372 deletions

View File

@@ -610,8 +610,7 @@ SyncFrameViewGeometryDependentProperties(nsPresContext* aPresContext,
viewHasTransparentContent = PR_FALSE;
}
nsCOMPtr<nsIDocument> doc;
aPresContext->PresShell()->GetDocument(getter_AddRefs(doc));
nsIDocument *doc = aPresContext->PresShell()->GetDocument();
if (doc) {
nsIContent *rootElem = doc->GetRootContent();
if (!doc->GetParentDocument() &&