Bug 539985 - lots of checkerboarding when panning while a page is loaded in background [r=mfinkle]

This commit is contained in:
Benjamin Stover 2010-01-15 10:42:22 -08:00
parent b5d07a20a8
commit 06f16d9244

View File

@ -2844,10 +2844,10 @@ Tab.prototype = {
if (!this._loadingTimeout) {
let bv = Browser._browserView;
bv.invalidateEntireView();
this._startResizeAndPaint();
if (this == Browser.selectedTab) {
bv.invalidateEntireView();
bv.setAggressive(false);
// Sync up browser so previous and forward scroll positions are set. This is a good time to do
// this because the resulting invalidation is irrelevant.