Reset WebPageProxy's isPlayingAudio state after web process crash or page invalidation.
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Nov 2014 20:31:49 +0000 (20:31 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Nov 2014 20:31:49 +0000 (20:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=138559

Reviewed by Andreas Kling.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::resetState):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175822 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp

index 272d251..cceec68 100644 (file)
@@ -1,3 +1,13 @@
+2014-11-09  Ada Chan  <adachan@apple.com>
+
+        Reset WebPageProxy's isPlayingAudio state after web process crash or page invalidation.
+        https://bugs.webkit.org/show_bug.cgi?id=138559
+
+        Reviewed by Andreas Kling.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::resetState):
+
 2014-11-10  Beth Dakin  <bdakin@apple.com>
 
         WK1: Support default actions for read-only text
index e6ba596..23f3bc4 100644 (file)
@@ -4504,6 +4504,7 @@ void WebPageProxy::resetState(ResetStateReason resetStateReason)
         editCommandVector[i]->invalidate();
 
     m_activePopupMenu = 0;
+    m_isPlayingAudio = false;
 }
 
 void WebPageProxy::resetStateAfterProcessExited()