Index: content/renderer/media/user_media_client_impl.cc |
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc |
index db0fb2e12a08c71a74a6892befdc856062754915..c75ba80294579f157339f0472d13eb5ab1fc88c2 100644 |
--- a/content/renderer/media/user_media_client_impl.cc |
+++ b/content/renderer/media/user_media_client_impl.cc |
@@ -1063,7 +1063,7 @@ void UserMediaClientImpl::UserMediaRequestInfo::StartAudioTrack( |
const blink::WebMediaConstraints& constraints) { |
DCHECK(track.source().getType() == blink::WebMediaStreamSource::TypeAudio); |
MediaStreamAudioSource* native_source = |
- static_cast<MediaStreamAudioSource*>(track.source().getExtraData()); |
+ MediaStreamAudioSource::From(track.source()); |
DCHECK(native_source); |
sources_.push_back(track.source()); |