Bug 1329144 - Remove useless variable r=sebastian
authorJulian_Chu <walkingice0204@gmail.com>
Thu, 02 Feb 2017 17:07:41 +0800
changeset 341328 13520d439d2e8749e5da45ab089be6c52f3cab0c
parent 341327 0be683b20bf126dc7086d88397240cd62e317bf2
child 341329 e474c788d36a245945e172e0a029cc1b69a9ce2a
push id86684
push usercbook@mozilla.com
push dateWed, 08 Feb 2017 10:31:03 +0000
treeherdermozilla-inbound@c5b88e4e70f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1329144 - Remove useless variable r=sebastian This variable is useless. So far we reference to a toolbar instance by local variable. Removing it makes less ambiguous. MozReview-Commit-ID: 8zrEKaB2H48
--- a/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java
+++ b/mobile/android/base/java/org/mozilla/gecko/customtabs/CustomTabsActivity.java
@@ -30,17 +30,16 @@ import java.lang.reflect.Field;
 import static android.support.customtabs.CustomTabsIntent.EXTRA_TOOLBAR_COLOR;
 public class CustomTabsActivity extends GeckoApp implements Tabs.OnTabsChangedListener {
     private static final String LOGTAG = "CustomTabsActivity";
     private static final String SAVED_TOOLBAR_COLOR = "SavedToolbarColor";
     private static final String SAVED_TOOLBAR_TITLE = "SavedToolbarTitle";
     private static final int NO_COLOR = -1;
-    private Toolbar toolbar;
     private ActionBar actionBar;
     private int tabId = -1;
     private boolean useDomainTitle = true;
     private int toolbarColor;
     private String toolbarTitle;