Bug 1534935: Fix non-nsView ShouldNotBeVisible(). r=jmathies

The comment was correct, the base impl should always return false as we don't have an opinion about visibility.

Differential Revision: https://phabricator.services.mozilla.com/D23598

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Adam Gashlin 2019-03-15 21:21:05 +00:00
Родитель 82fc0b279b
Коммит 6bbb6fac70
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -72,7 +72,7 @@ void nsIWidgetListener::RequestRepaint() {}
bool nsIWidgetListener::ShouldNotBeVisible() {
// Returns false to assume that nothing should happen in most cases.
return true;
return false;
}
nsEventStatus nsIWidgetListener::HandleEvent(WidgetGUIEvent* aEvent,