Bug 1201217 - Don't fiddle with the resolution on tab switch when using APZ in fennec. r=rbarker

This commit is contained in:
Kartikaya Gupta 2015-09-02 16:31:06 -04:00
parent b3f65055c0
commit 73c49311cc

View File

@ -1096,7 +1096,9 @@ var BrowserApp = {
return;
aTab.setActive(true);
if (!AppConstants.MOZ_ANDROID_APZ) {
aTab.setResolution(aTab._zoom, true);
}
this.contentDocumentChanged();
this.deck.selectedPanel = aTab.browser;
// Focus the browser so that things like selection will be styled correctly.