Changeset 160358 in webkit


Ignore:
Timestamp:
Dec 10, 2013 5:06:55 AM (10 years ago)
Author:
berto@igalia.com
Message:

[WK2] [GTK] Enable the network process in the WebContext
https://bugs.webkit.org/show_bug.cgi?id=125494

Reviewed by Carlos Garcia Campos.

This should be initialized using the setUsesNetworkProcess() API.

  • UIProcess/API/gtk/WebKitWebContext.cpp:

(createDefaultWebContext):

  • UIProcess/gtk/WebContextGtk.cpp:

(WebKit::WebContext::platformInitializeWebProcess):

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r160355 r160358  
     12013-12-10  Alberto Garcia  <berto@igalia.com>
     2
     3        [WK2] [GTK] Enable the network process in the WebContext
     4        https://bugs.webkit.org/show_bug.cgi?id=125494
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        This should be initialized using the setUsesNetworkProcess() API.
     9
     10        * UIProcess/API/gtk/WebKitWebContext.cpp:
     11        (createDefaultWebContext):
     12        * UIProcess/gtk/WebContextGtk.cpp:
     13        (WebKit::WebContext::platformInitializeWebProcess):
     14
    1152013-12-10  Brian Holt  <brian.holt@samsung.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp

    r159899 r160358  
    200200    priv->requestManager = webContext->priv->context->supplement<WebSoupRequestManagerProxy>();
    201201    priv->context->setCacheModel(CacheModelPrimaryWebBrowser);
     202#if ENABLE(NETWORK_PROCESS)
     203    priv->context->setUsesNetworkProcess(true);
     204#endif
    202205    priv->tlsErrorsPolicy = WEBKIT_TLS_ERRORS_POLICY_IGNORE;
    203206
  • trunk/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp

    r160355 r160358  
    9999    parameters.cookieAcceptPolicy = m_initialHTTPCookieAcceptPolicy;
    100100    parameters.shouldTrackVisitedLinks = true;
    101 #if ENABLE(NETWORK_PROCESS)
    102     parameters.usesNetworkProcess = true;
    103 #else
     101#if !ENABLE(NETWORK_PROCESS)
    104102    parameters.ignoreTLSErrors = m_ignoreTLSErrors;
    105103#endif
Note: See TracChangeset for help on using the changeset viewer.