commit | d8d223127d706aa4961b2c9b0037ab256fce9a8f | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Tue Sep 22 15:39:15 2015 -0700 |
committer | Tom Sepez <tsepez@chromium.org> | Tue Sep 22 15:39:15 2015 -0700 |
tree | b0fb81449394f1c9f7832684988293dffdfc6396 | |
parent | dd7a7f012424ec8505830710ac0dd0183203c189 [diff] |
Use std::set<> to track active event handlers. This avoids some custom linked-list code. Also note that we use a local copy to be sure we removed the same thing that was added no matter how our callees may muck with the handler. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1352393003 .