Changeset 152166 in webkit


Ignore:
Timestamp:
Jun 28, 2013 8:00:52 AM (11 years ago)
Author:
akling@apple.com
Message:

Don't fire process-became-responsive callback when disconnecting it.
<http://webkit.org/b/118166>

Reviewed by Anders Carlsson.

When disconnecting from a web process, call ResponsivenessTimer::invalidate() instead of
stop() to avoid firing the didBecomeResponsive() callback.

This lets the UI process react faster to actually unresponsive processes.

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::disconnect):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r152165 r152166  
     12013-06-28  Andreas Kling  <akling@apple.com>
     2
     3        Don't fire process-became-responsive callback when disconnecting it.
     4        <http://webkit.org/b/118166>
     5
     6        Reviewed by Anders Carlsson.
     7
     8        When disconnecting from a web process, call ResponsivenessTimer::invalidate() instead of
     9        stop() to avoid firing the didBecomeResponsive() callback.
     10
     11        This lets the UI process react faster to actually unresponsive processes.
     12
     13        * UIProcess/WebProcessProxy.cpp:
     14        (WebKit::WebProcessProxy::disconnect):
     15
    1162013-06-28  Sergio Villar Senin  <svillar@igalia.com>
    217
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp

    r150691 r152166  
    147147    }
    148148
    149     m_responsivenessTimer.stop();
     149    m_responsivenessTimer.invalidate();
    150150
    151151    Vector<RefPtr<WebFrameProxy>> frames;
Note: See TracChangeset for help on using the changeset viewer.