зеркало из https://github.com/mozilla/pjs.git
Use weak presshell ptr, since we can. More on bug 230380
This commit is contained in:
Родитель
a38464576c
Коммит
d42f0893fe
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче