This commit is contained in:
bzbarsky%mit.edu 2003-07-28 23:59:38 +00:00
Родитель cacb22d3cf
Коммит 5ba35e9abd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -309,7 +309,7 @@ static void GetPrimaryPresShell(nsIFrame* aFrame, nsIPresShell** aResult)
nsCOMPtr<nsIContent> content;
aFrame->GetContent(getter_AddRefs(content));
nsIDocument* doc = content->GetDocument);
nsIDocument* doc = content->GetDocument();
if (doc)
doc->GetShellAt(0, aResult); // Addref happens here.
}