From f8bbdb0c3cc6cef43b3bbcd8e848346a84416518 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Thu, 12 Dec 2013 00:28:14 +0000 Subject: [PATCH] Bug 943915 - Remove 'a' prefix from arguments in ArrowPopup/SiteIdentityPopup (r=wesj) --- mobile/android/base/toolbar/SiteIdentityPopup.java | 6 +++--- mobile/android/base/widget/ArrowPopup.java | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mobile/android/base/toolbar/SiteIdentityPopup.java b/mobile/android/base/toolbar/SiteIdentityPopup.java index 7232b6335749..023024215c97 100644 --- a/mobile/android/base/toolbar/SiteIdentityPopup.java +++ b/mobile/android/base/toolbar/SiteIdentityPopup.java @@ -57,10 +57,10 @@ public class SiteIdentityPopup extends ArrowPopup private DoorHanger mMixedContentNotification; - public SiteIdentityPopup(BrowserApp aActivity) { - super(aActivity); + public SiteIdentityPopup(BrowserApp activity) { + super(activity); - mResources = aActivity.getResources(); + mResources = activity.getResources(); } public static int getSecurityImageLevel(String mode) { diff --git a/mobile/android/base/widget/ArrowPopup.java b/mobile/android/base/widget/ArrowPopup.java index 3abb37d48658..ec8656553743 100644 --- a/mobile/android/base/widget/ArrowPopup.java +++ b/mobile/android/base/widget/ArrowPopup.java @@ -37,22 +37,22 @@ public class ArrowPopup extends PopupWindow { this(aActivity, null); } - public ArrowPopup(GeckoApp aActivity, View aAnchor) { - super(aActivity); - mActivity = aActivity; - mAnchor = aAnchor; + public ArrowPopup(GeckoApp activity, View anchor) { + super(activity); + mActivity = activity; + mAnchor = anchor; mInflated = false; - final Resources res = aActivity.getResources(); + final Resources res = activity.getResources(); mArrowWidth = res.getDimensionPixelSize(R.dimen.menu_popup_arrow_width); mYOffset = res.getDimensionPixelSize(R.dimen.menu_popup_offset); setAnimationStyle(R.style.PopupAnimation); } - public void setAnchor(View aAnchor) { - mAnchor = aAnchor; + public void setAnchor(View anchor) { + mAnchor = anchor; } protected void init() {