зеркало из https://github.com/mozilla/gecko-dev.git
Bug 426392 - Crash in nsXULPopupManager::ShowPopupCallback when customizing toolbar on OS X, patch by Chris Pearce (chris@pearce.org.nz), r+sr=roc, a=blocker
This commit is contained in:
Родитель
1fce8d35c4
Коммит
6979ef621b
|
@ -523,9 +523,13 @@ CheckCaretDrawingState(nsIDocument *aDocument) {
|
|||
return;
|
||||
|
||||
nsIPresShell* presShell = focusedDoc->GetPrimaryShell();
|
||||
if (!presShell)
|
||||
return;
|
||||
|
||||
nsCOMPtr<nsICaret> caret;
|
||||
nsresult res = presShell->GetCaret(getter_AddRefs(caret));
|
||||
if (!caret)
|
||||
return;
|
||||
caret->CheckCaretDrawingState();
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче