Merge back out of changeset d7b6ab26d39e (bug 601547). a=backout

This commit is contained in:
Timothy Nikkel 2010-10-06 20:42:44 -05:00
Родитель d8c5714377 570b35b00c
Коммит b591badc0b
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -3719,10 +3719,9 @@ void nsWindow::DispatchPendingEvents()
// Find the top level window.
HWND topWnd = GetTopLevelHWND(mWnd);
// Dispatch pending paints for topWnd and all its descendant windows.
// Dispatch pending paints for all topWnd's descendant windows.
// Note: EnumChildWindows enumerates all descendant windows not just
// the children (but not the window itself).
nsWindow::DispatchStarvedPaints(topWnd, 0);
// it's children.
#if !defined(WINCE)
::EnumChildWindows(topWnd, nsWindow::DispatchStarvedPaints, 0);
#else