Changeset 196732 in webkit


Ignore:
Timestamp:
Feb 17, 2016 5:03:28 PM (8 years ago)
Author:
andersca@apple.com
Message:

Remove WebContextSupplement::shouldTerminate, it's no longer used
https://bugs.webkit.org/show_bug.cgi?id=154367

Reviewed by Sam Weinig.

  • UIProcess/WebContextSupplement.h:

(WebKit::WebContextSupplement::shouldTerminate): Deleted.

  • UIProcess/WebCookieManagerProxy.cpp:

(WebKit::WebCookieManagerProxy::shouldTerminate): Deleted.

  • UIProcess/WebCookieManagerProxy.h:
  • UIProcess/WebProcessPool.cpp:

(WebKit::WebProcessPool::shouldTerminate): Deleted.

Location:
trunk/Source/WebKit2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r196730 r196732  
     12016-02-17  Anders Carlsson  <andersca@apple.com>
     2
     3        Remove WebContextSupplement::shouldTerminate, it's no longer used
     4        https://bugs.webkit.org/show_bug.cgi?id=154367
     5
     6        Reviewed by Sam Weinig.
     7
     8        * UIProcess/WebContextSupplement.h:
     9        (WebKit::WebContextSupplement::shouldTerminate): Deleted.
     10        * UIProcess/WebCookieManagerProxy.cpp:
     11        (WebKit::WebCookieManagerProxy::shouldTerminate): Deleted.
     12        * UIProcess/WebCookieManagerProxy.h:
     13        * UIProcess/WebProcessPool.cpp:
     14        (WebKit::WebProcessPool::shouldTerminate): Deleted.
     15
    1162016-02-17  Brian Burg  <bburg@apple.com>
    217
  • trunk/Source/WebKit2/UIProcess/WebContextSupplement.h

    r177692 r196732  
    6161    }
    6262
    63     virtual bool shouldTerminate(WebProcessProxy*) const
    64     {
    65         return true;
    66     }
    67 
    6863    WebProcessPool* processPool() const { return m_processPool; }
    6964    void clearProcessPool() { m_processPool = nullptr; }
  • trunk/Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp

    r194496 r196732  
    8282    invalidateCallbackMap(m_arrayCallbacks, CallbackBase::Error::ProcessExited);
    8383    invalidateCallbackMap(m_httpCookieAcceptPolicyCallbacks, CallbackBase::Error::ProcessExited);
    84 }
    85 
    86 bool WebCookieManagerProxy::shouldTerminate(WebProcessProxy*) const
    87 {
    88     return true;
    8984}
    9085
  • trunk/Source/WebKit2/UIProcess/WebCookieManagerProxy.h

    r177917 r196732  
    9393    virtual void processDidClose(WebProcessProxy*) override;
    9494    virtual void processDidClose(NetworkProcessProxy*) override;
    95     virtual bool shouldTerminate(WebProcessProxy*) const override;
    9695    virtual void refWebContextSupplement() override;
    9796    virtual void derefWebContextSupplement() override;
  • trunk/Source/WebKit2/UIProcess/WebProcessPool.cpp

    r196698 r196732  
    683683        return false;
    684684
    685     for (const auto& supplement : m_supplements.values()) {
    686         if (!supplement->shouldTerminate(process))
    687             return false;
    688     }
    689 
    690685    return true;
    691686}
Note: See TracChangeset for help on using the changeset viewer.