PageLoadState::will/didChangeProcessIsResponsive should call observers
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Nov 2015 19:38:19 +0000 (19:38 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Nov 2015 19:38:19 +0000 (19:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150870

Reviewed by Dan Bernstein.

* UIProcess/PageLoadState.cpp:
(WebKit::PageLoadState::willChangeProcessIsResponsive):
(WebKit::PageLoadState::didChangeProcessIsResponsive):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/PageLoadState.cpp

index f3f3b15..ef47ccc 100644 (file)
@@ -1,3 +1,14 @@
+2015-11-03  Anders Carlsson  <andersca@apple.com>
+
+        PageLoadState::will/didChangeProcessIsResponsive should call observers
+        https://bugs.webkit.org/show_bug.cgi?id=150870
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/PageLoadState.cpp:
+        (WebKit::PageLoadState::willChangeProcessIsResponsive):
+        (WebKit::PageLoadState::didChangeProcessIsResponsive):
+
 2015-11-04  Ryan Haddad  <ryanhaddad@apple.com>
 
         Speculative build fix. Missed the checkin for the changelog with r192029.
index 80444d6..42cf619 100644 (file)
@@ -404,10 +404,12 @@ bool PageLoadState::isLoading(const Data& data)
 
 void PageLoadState::willChangeProcessIsResponsive()
 {
+    callObserverCallback(&Observer::willChangeWebProcessIsResponsive);
 }
 
 void PageLoadState::didChangeProcessIsResponsive()
 {
+    callObserverCallback(&Observer::didChangeWebProcessIsResponsive);
 }
 
 void PageLoadState::callObserverCallback(void (Observer::*callback)())