mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 839359 - Crash -- java.lang.NullPointerException, r=kats
This commit is contained in:
parent
cd225d6279
commit
d7645cf0cd
@ -523,7 +523,7 @@ abstract public class GeckoApp
|
||||
@Override
|
||||
public boolean onMenuOpened(int featureId, Menu menu) {
|
||||
// exit full-screen mode whenever the menu is opened
|
||||
if (mLayerView.isFullScreen()) {
|
||||
if (mLayerView != null && mLayerView.isFullScreen()) {
|
||||
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FullScreen:Exit", null));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user