From 6bbb6fac70a540661f61360f39cec19d9b3569f3 Mon Sep 17 00:00:00 2001 From: Adam Gashlin Date: Fri, 15 Mar 2019 21:21:05 +0000 Subject: [PATCH] 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 --- widget/nsIWidgetListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/nsIWidgetListener.cpp b/widget/nsIWidgetListener.cpp index 9c423c7ef339..69e5844c447e 100644 --- a/widget/nsIWidgetListener.cpp +++ b/widget/nsIWidgetListener.cpp @@ -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,