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

Changeset 221227 in webkit


Ignore:
Timestamp:
Aug 26, 2017, 9:54:35 AM (9 years ago)
Author:
Michael Catanzaro
Message:

Unreviewed, tighten up scope of variable in previous commit

  • platform/network/soup/CookieJarSoup.cpp:

(WebCore::cookiesForSession):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r221226 r221227  
     12017-08-26  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        Unreviewed, tighten up scope of variable in previous commit
     4
     5        * platform/network/soup/CookieJarSoup.cpp:
     6        (WebCore::cookiesForSession):
     7
    182017-08-26  Michael Catanzaro  <mcatanzaro@igalia.com>
    29
  • trunk/Source/WebCore/platform/network/soup/CookieJarSoup.cpp

    r221226 r221227  
    8787    GUniquePtr<SoupURI> uri = url.createSoupURI();
    8888    GSList* cookies = soup_cookie_jar_get_cookie_list(session.cookieStorage(), uri.get(), forHTTPHeader);
    89     GSList* item = cookies;
    9089    bool didAccessSecureCookies = false;
    9190
    9291    // libsoup should omit secure cookies itself if the protocol is not https.
    9392    if (url.protocolIs("https")) {
     93        GSList* item = cookies;
    9494        while (item) {
    9595            auto cookie = static_cast<SoupCookie*>(item->data);
Note: See TracChangeset for help on using the changeset viewer.