зеркало из https://github.com/mozilla/pjs.git
Bug 187759 opening menu with full-page (quicktime, flash) plugin crashes in [@ nsMenuBarFrame::SetActive ]
r=aaronl sr=bz
This commit is contained in:
Родитель
9087ad5288
Коммит
04734d6ae4
|
@ -235,7 +235,9 @@ nsMenuBarFrame::SetActive(PRBool aActiveFlag)
|
|||
|
||||
document->GetShellAt(0, getter_AddRefs(presShell));
|
||||
nsCOMPtr<nsISelectionController> selCon(do_QueryInterface(presShell));
|
||||
NS_ASSERTION(selCon, "No selection controller for presShell");
|
||||
// there is no selection controller for full page plugins
|
||||
if (!selCon)
|
||||
break;
|
||||
|
||||
if (mIsActive) {// store whether caret was visible so that we can restore that state when menu is closed
|
||||
PRBool isCaretVisible;
|
||||
|
|
Загрузка…
Ссылка в новой задаче