From 339aceecb83336fd3b76e988afdab6611c7acd80 Mon Sep 17 00:00:00 2001 From: Wes Johnston Date: Thu, 26 Jul 2012 13:02:27 -0700 Subject: [PATCH] Bug 645592 - Remove unused getTitle function. r=margaret --- mobile/android/base/Tab.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mobile/android/base/Tab.java b/mobile/android/base/Tab.java index 3e6907dedd1..dc12ba03bd0 100644 --- a/mobile/android/base/Tab.java +++ b/mobile/android/base/Tab.java @@ -124,10 +124,6 @@ public final class Tab { return mUrl; } - public String getTitle() { - return mTitle; - } - public String getDisplayTitle() { if (mTitle != null && mTitle.length() > 0) { return mTitle; @@ -413,7 +409,7 @@ public final class Tab { if (url == null) return; - BrowserDB.addBookmark(mContentResolver, getTitle(), url); + BrowserDB.addBookmark(mContentResolver, mTitle, url); } }); }