зеркало из https://github.com/mozilla/pjs.git
Fix Invalidate() method to invalidate the right area. Bug 224607, patch by
roc, r=blizzard, sr=bzbarsky
This commit is contained in:
Родитель
bb435c6b86
Коммит
609a6ae603
|
@ -1018,7 +1018,7 @@ NS_IMETHODIMP nsWindow::Invalidate(PRBool aIsSynchronous)
|
|||
if (!mSuperWin)
|
||||
return NS_OK;
|
||||
|
||||
mUpdateArea->SetTo(mBounds.x, mBounds.y, mBounds.width, mBounds.height);
|
||||
mUpdateArea->SetTo(0, 0, mBounds.width, mBounds.height);
|
||||
|
||||
if (aIsSynchronous)
|
||||
Update();
|
||||
|
|
Загрузка…
Ссылка в новой задаче