DescriptionCall event_assign() instead of event_set(), when available.
event_set() has been deprecated and doesn't allow passing the main loop to be passed to initialize the event. event_assign() is the method to call in Event2 when available. However, we still need to be compatible with Chromium's version of libevent, so there's an #ifdef check in the meantime.
BUG=
Committed: https://crrev.com/7b020da9d7fc0740d14063f2be91712dfa7126f7
Cr-Commit-Position: refs/heads/master@{#13454}
Patch Set 1 #Patch Set 2 : Don't set ev_base when using event_set #Messages
Total messages: 13 (7 generated)
|