DescriptionMessagePumpAuraX11: Make root_window_dispatchers_ an ObserverList.
Using std::vector caused crashes in cases where a Dispatch call resulted in a Dispatcher being added and that addition provoked reallocation of the vector's storage. This resulted in a bad iterator dereference in the dispatch loop.
BUG=chrome-os-partner:15544
TEST=Monitor unplugging/power removal still works. The crash case no longer crashes.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175452
Patch Set 1 #
Total comments: 1
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 19 (0 generated)
|