From 3085292b1acde80953fb705cfb7cd16ea61afc14 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Fri, 27 Jan 2012 10:08:21 +0000 Subject: [PATCH] Bug 721354 - Remove unnecessary constructor arg from AboutHomeContent (r=blassey) --- mobile/android/base/AboutHomeContent.java | 4 ++-- mobile/android/base/GeckoApp.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/android/base/AboutHomeContent.java b/mobile/android/base/AboutHomeContent.java index 2edf4a60454..144fcb074eb 100644 --- a/mobile/android/base/AboutHomeContent.java +++ b/mobile/android/base/AboutHomeContent.java @@ -111,8 +111,8 @@ public class AboutHomeContent extends ScrollView { public void callback(String uriSpec); } - public AboutHomeContent(Context context, AttributeSet attrs) { - super(context, attrs); + public AboutHomeContent(Context context) { + super(context); setScrollContainer(true); setBackgroundResource(R.drawable.abouthome_bg_repeat); mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 4f3f80c00bb..a4573390949 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -1102,7 +1102,7 @@ abstract public class GeckoApp public void run() { mAutoCompletePopup.hide(); if (mAboutHomeContent == null && mShow) { - mAboutHomeContent = new AboutHomeContent(GeckoApp.mAppContext, null); + mAboutHomeContent = new AboutHomeContent(GeckoApp.mAppContext); mAboutHomeContent.init(GeckoApp.mAppContext); mAboutHomeContent.setUriLoadCallback(new AboutHomeContent.UriLoadCallback() { public void callback(String url) {