зеркало из https://github.com/mozilla/gecko-dev.git
Bug 943759, [Australis], remove isDragPopup reference to fix build, CLOSED TREE
This commit is contained in:
Родитель
a2d526d45d
Коммит
584eae8c60
|
@ -240,12 +240,10 @@ nsMenuPopupFrame::CreateWidgetForView(nsView* aView)
|
||||||
|
|
||||||
if (!mInContentShell) {
|
if (!mInContentShell) {
|
||||||
// A drag popup may be used for non-static translucent drag feedback
|
// A drag popup may be used for non-static translucent drag feedback
|
||||||
bool isDragPopup = false;
|
|
||||||
if (mPopupType == ePopupTypePanel &&
|
if (mPopupType == ePopupTypePanel &&
|
||||||
mContent->AttrValueIs(kNameSpaceID_None, nsGkAtoms::type,
|
mContent->AttrValueIs(kNameSpaceID_None, nsGkAtoms::type,
|
||||||
nsGkAtoms::drag, eIgnoreCase)) {
|
nsGkAtoms::drag, eIgnoreCase)) {
|
||||||
widgetData.mIsDragPopup = true;
|
widgetData.mIsDragPopup = true;
|
||||||
isDragPopup = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If mousethrough="always" is set directly on the popup, then the widget
|
// If mousethrough="always" is set directly on the popup, then the widget
|
||||||
|
|
Загрузка…
Ссылка в новой задаче