| Index: Source/core/html/HTMLMediaElement.cpp
|
| ===================================================================
|
| --- Source/core/html/HTMLMediaElement.cpp (revision 157693)
|
| +++ Source/core/html/HTMLMediaElement.cpp (working copy)
|
| @@ -343,6 +343,10 @@
|
| // See http://crbug.com/233654 for more details.
|
| m_completelyLoaded = true;
|
| m_player.clear();
|
| +#if ENABLE(WEB_AUDIO)
|
| + if (audioSourceProvider())
|
| + audioSourceProvider()->setClient(0);
|
| +#endif
|
| }
|
|
|
| void HTMLMediaElement::didMoveToNewDocument(Document* oldDocument)
|
| @@ -3446,6 +3450,10 @@
|
| closeMediaSource();
|
|
|
| m_player.clear();
|
| +#if ENABLE(WEB_AUDIO)
|
| + if (audioSourceProvider())
|
| + audioSourceProvider()->setClient(0);
|
| +#endif
|
| stopPeriodicTimers();
|
| m_loadTimer.stop();
|
|
|
|
|