mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 772510 - Fix Java build warning in DoorHanger.java. r=mfinkle
Fix "static variable should be qualified by type name" warning in DoorHanger.java.
This commit is contained in:
parent
6bb3d29a22
commit
69dfca6b4d
@ -168,7 +168,7 @@ public class DoorHanger extends LinearLayout implements Button.OnClickListener {
|
||||
// This method checks with persistence and timeout options to see if
|
||||
// it's okay to remove a doorhanger.
|
||||
public boolean shouldRemove() {
|
||||
if (mPersistWhileVisible && GeckoApp.mAppContext.mDoorHangerPopup.isShowing()) {
|
||||
if (mPersistWhileVisible && GeckoApp.mDoorHangerPopup.isShowing()) {
|
||||
// We still want to decrement mPersistence, even if the popup is showing
|
||||
if (mPersistence != 0)
|
||||
mPersistence--;
|
||||
|
Loading…
Reference in New Issue
Block a user