Use ScopedTestingPlatformSupport to set the Platform in WebRTC unittest
Without using this, the Platform object is not replaced when the test class shuts down. This makes the next test to run have a Platform pointer to a deleted object, and causes a crash if any future tests in the shard will try to use the Platform. R=avi@chromium.org, pdr@chromium.org Bug: 419087, 745091 Change-Id: I09145e6a6a8ad1b0b1f9d0d77f04dc147a90972a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726730Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#682445}
Showing
Please register or sign in to comment