commit | 265d0d3c6570a1523f1eb15e8632f51a4021b7eb | [log] [tgz] |
---|---|---|
author | Guido Urdaneta <guidou@chromium.org> | Wed Jan 16 13:28:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 13:28:26 2019 |
tree | 7200e9d596813c155dc20a2557bda597d3bd2bf9 | |
parent | c75e20d1e37b4d50b5cef13ed87eb09acf0facdb [diff] |
Remove reference to media::AudioDeviceDescription from content::MediaDeviceInfo Types in media/audio, such as media::AudioDeviceDescription should not be accessed from the renderer process. The constructor in MediaDeviceInfo that uses AudioDeviceDescription is currently used only on the browser, but since MediaDeviceInfo is defined in content/common, it is also available in the renderer process. This CL removes the reference to media::AudioDeviceDescription in a MediaDeviceInfo constructor and replaces the call with another constructor passing fields more explicitly. This CL is preparation work for moving MediaDeviceInfo to Blink. Bug: 704136 MediaDeviceInfo will be moved to Blink Change-Id: I7da4bb4cee30aa0f6a26da5a7a5fc9516f618a9d Reviewed-on: https://chromium-review.googlesource.com/c/1405048 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#623214}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .