Get rid of the in_flight_event.

It was possible that a nested message loop occurs in the processing
event actually gets destroyed by running an event inside the nested loop.

Put the object on the stack instead since we no longer have the virtual
callback that we required this member for. Also this might actually be
the cause to further hung renderers because under the old code the missing
acks would silently get dropped. After https://codereview.chromium.org/2813683002
this caused a null-deref.

BUG=714444

Review-Url: https://codereview.chromium.org/2835193002
Cr-Commit-Position: refs/heads/master@{#466645}
2 files changed