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:
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user