Use weak presshell ptr, since we can. More on bug 230380

This commit is contained in:
bzbarsky%mit.edu 2004-01-13 23:24:41 +00:00
Родитель a38464576c
Коммит d42f0893fe
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1992,7 +1992,7 @@ nsEventListenerManager::FixContextMenuEvent(nsIPresContext* aPresContext,
nsCOMPtr<nsIDOMEventTarget> currentTarget(aCurrentTarget);
nsCOMPtr<nsIDOMElement> currentFocus;
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIPresShell> shell = aPresContext->PresShell();
nsIPresShell* shell = aPresContext->PresShell();
nsString empty;
if (aEvent->message == NS_CONTEXTMENU_KEY) {