Pepper: Access PepperMediaDeviceManager through a WeakPtr
commit3a2cf7d1376ae33054b878232fb38b8fbed29e31
authordmichael <dmichael@chromium.org>
Thu, 16 Oct 2014 15:53:40 +0000 (16 08:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Oct 2014 15:53:57 +0000 (16 15:53 +0000)
tree6f2b7492e089dc3f3679c8862aaf7afbbcfd70e4
parent20f2492c84dc4ab5588b4034f952a99737d37472
Pepper: Access PepperMediaDeviceManager through a WeakPtr

Its lifetime is scoped to the RenderFrame, and it might go away before the
hosts that refer to it.

BUG=423030

Review URL: https://codereview.chromium.org/653243003

Cr-Commit-Position: refs/heads/master@{#299897}
content/renderer/pepper/pepper_device_enumeration_host_helper.cc
content/renderer/pepper/pepper_device_enumeration_host_helper.h
content/renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc
content/renderer/pepper/pepper_media_device_manager.cc
content/renderer/pepper/pepper_media_device_manager.h
content/renderer/pepper/pepper_platform_audio_input.cc
content/renderer/pepper/pepper_platform_video_capture.cc