Bug 944537 - No need to check for showProgress in BrowserToolbar (r=mfinkle)

This commit is contained in:
Lucas Rocha 2013-12-03 16:20:31 +00:00
parent 92e91ad0ac
commit 5af63ea5e9

View File

@ -566,8 +566,7 @@ public class BrowserToolbar extends GeckoRelativeLayout
case START:
updateBackButton(canDoBack(tab));
updateForwardButton(canDoForward(tab));
Boolean showProgress = (Boolean)data;
if (showProgress && tab.getState() == Tab.STATE_LOADING) {
if (tab.getState() == Tab.STATE_LOADING) {
setProgressVisibility(true);
}
setSecurityMode(tab.getSecurityMode());