Fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@145302 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
608db6d3c0
commit
88c1ebd8a5
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user