mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Remove unneeded call to EnumChildWindows in nsWindow::BroadcastMsgToChildren, which was causing the system color change message to be dispatched too many times. b=173152 r=dcone sr=kin
This commit is contained in:
parent
bf98c65984
commit
f97400373e
@ -698,8 +698,6 @@ BOOL CALLBACK nsWindow::BroadcastMsgToChildren(HWND aWnd, LPARAM aMsg)
|
||||
::CallWindowProc(winProc, aWnd, aMsg, 0, 0);
|
||||
#endif
|
||||
}
|
||||
// Send message to children of this window
|
||||
::EnumChildWindows(aWnd, nsWindow::BroadcastMsgToChildren, aMsg);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user