Bug 639819 - Update displayport on refresh [r=vingtetun, a=blocking]

This commit is contained in:
Wes Johnston 2011-03-08 16:09:05 -08:00
parent 7cbcac7b78
commit b0c42e4dc7

View File

@ -2682,6 +2682,10 @@ Tab.prototype = {
// and this call ensure we render it correctly.
browser.getRootView()._updateCacheViewport();
}
} else {
// if we are reloading, the page will retain its scale. if it is zoomed
// we need to refresh the viewport so that we do not show checkerboard
browser.getRootView()._updateCacheViewport();
}
},