⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 233575 in webkit


Ignore:
Timestamp:
Jul 6, 2018, 3:38:46 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE] REGRESSION(r233239): proxy settings not applied after r233239
​https://bugs.webkit.org/show_bug.cgi?id=187381

Patch by Carlos Garcia Campos <​cgarcia@igalia.com> on 2018-07-06
Reviewed by Yusuke Suzuki.

This is because the static variable for proxy settings was replaced by a NeverDestroyed, but the function is not
returning a reference, but a copy. This is causing several unit tests to fail.

  • platform/network/soup/SoupNetworkSession.cpp:

(WebCore::proxySettings):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r233574 r233575  
     12018-07-06  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK][WPE] REGRESSION(r233239): proxy settings not applied after r233239
     4        https://bugs.webkit.org/show_bug.cgi?id=187381
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        This is because the static variable for proxy settings was replaced by a NeverDestroyed, but the function is not
     9        returning a reference, but a copy. This is causing several unit tests to fail.
     10
     11        * platform/network/soup/SoupNetworkSession.cpp:
     12        (WebCore::proxySettings):
     13
    1142018-07-06  Frederic Wang  <fwang@igalia.com>
    215
  • trunk/Source/WebCore/platform/network/soup/SoupNetworkSession.cpp

    r233239 r233575  
    5454}
    5555
    56 static SoupNetworkProxySettings proxySettings()
     56static SoupNetworkProxySettings& proxySettings()
    5757{
    5858    static NeverDestroyed<SoupNetworkProxySettings> settings;
Note: See TracChangeset for help on using the changeset viewer.