Make UserMediaClient::Request heap allocated
... instead of stack allocated. This is a precusor CL for making use of ApplyConstraintsRequest directly in user_media_client.cc|h and apply_constraints_processor.cc|h, instead of its Blink-exposed wrapper class, WebApplyConstraintsRequest. This is needed because ApplyConstraintsRequest is GC-ed by OilPan, so being UserMediaClient::Request the class that will own it, it needs to be (Oilpan) heap allocated. In a follow up step [1], it was changed to on-Oilpan-heap allocation. [1] https://crrev.com/c/1768778 BUG=704136 R=guidou@chromium.org, haraken@chromium.org Change-Id: I7b3965d892f99a93d12d65ffee3140f08caafbd1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768789 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Auto-Submit: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#690313}
Showing
Please register or sign in to comment