Fix mac build bustage

git-svn-id: svn://10.0.0.236/trunk@145302 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2003-07-29 00:05:16 +00:00
parent 608db6d3c0
commit 88c1ebd8a5

View File

@ -79,7 +79,7 @@ nsNativeTheme::GetPrimaryPresShell(nsIFrame* aFrame, nsIPresShell** aResult)
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIContent> content;
aFrame->GetContent(getter_AddRefs(content));
content->GetDocument(getter_AddRefs(doc));
doc = content->GetDocument();
if (doc)
doc->GetShellAt(0, aResult); // addrefs
}