Fix Invalidate() method to invalidate the right area. Bug 224607, patch by

roc, r=blizzard, sr=bzbarsky
This commit is contained in:
bzbarsky%mit.edu 2003-11-10 23:48:24 +00:00
Родитель bb435c6b86
Коммит 609a6ae603
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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();