Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Issue 11593015: MessagePumpAuraX11: Make root_window_dispatchers_ an ObserverList. (Closed)

Created:
8 years ago by sabercrombie1
Modified:
7 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sadrul
Visibility:
Public.

Description

MessagePumpAuraX11: 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 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -20 lines) Patch
M base/message_pump_aurax11.h View 1 2 3 chunks +9 lines, -6 lines 0 comments Download
M base/message_pump_aurax11.cc View 1 2 2 chunks +4 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
sabercrombie1
8 years ago (2012-12-18 18:27:19 UTC) #1
oshima
lgtm with nit https://codereview.chromium.org/11593015/diff/1/base/message_pump_aurax11.h File base/message_pump_aurax11.h (right): https://codereview.chromium.org/11593015/diff/1/base/message_pump_aurax11.h#newcode108 base/message_pump_aurax11.h:108: ObserverList<MessagePumpDispatcher> root_window_dispatchers_; Please add comment why ...
8 years ago (2012-12-18 20:38:32 UTC) #2
sabercrombie1
8 years ago (2012-12-18 23:35:49 UTC) #3
sabercrombie1
My understanding is that I can't use trybots, not being a committer. Could a reviewer ...
8 years ago (2012-12-18 23:39:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sabercrombie@chromium.org/11593015/6001
8 years ago (2012-12-19 00:00:03 UTC) #5
commit-bot: I haz the power
Presubmit check for 11593015-6001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-19 00:00:09 UTC) #6
sabercrombie1
8 years ago (2012-12-19 17:12:52 UTC) #7
willchan no longer on Chromium
https://codereview.chromium.org/11593015/diff/6001/base/message_pump_aurax11.h File base/message_pump_aurax11.h (right): https://codereview.chromium.org/11593015/diff/6001/base/message_pump_aurax11.h#newcode16 base/message_pump_aurax11.h:16: #include <vector> Can you get rid of this now? ...
8 years ago (2012-12-19 17:25:42 UTC) #8
sabercrombie1
Could you take another look please?
8 years ago (2012-12-20 17:47:32 UTC) #9
sabercrombie1
Anyone?
8 years ago (2012-12-21 20:59:15 UTC) #10
sabercrombie1
8 years ago (2012-12-21 20:59:26 UTC) #11
willchan no longer on Chromium
lgtm
8 years ago (2012-12-21 22:11:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sabercrombie@chromium.org/11593015/14002
8 years ago (2012-12-21 22:19:35 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-22 02:23:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sabercrombie@chromium.org/11593015/14002
7 years, 11 months ago (2013-01-07 18:35:00 UTC) #15
sabercrombie1
7 years, 11 months ago (2013-01-07 18:35:36 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_aura for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-07 20:56:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sabercrombie@chromium.org/11593015/14002
7 years, 11 months ago (2013-01-07 23:31:04 UTC) #18
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 01:28:05 UTC) #19
Message was sent while issue was closed.
Change committed as 175452

Powered by Google App Engine
This is Rietveld 408576698