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

Changeset 244767 in webkit


Ignore:
Timestamp:
Apr 30, 2019, 4:00:30 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION(r244750): [GTK][WPE] Network process is crashing in all layout tests
https://bugs.webkit.org/show_bug.cgi?id=197406

Reviewed by Žan Doberšek.

Do not trasnfer ownership of cachePath to traverseDirectory() lambda, since it's passed also as first argument
and it can be passed as a reference.

  • NetworkProcess/cache/NetworkCacheStorage.cpp:

(WebKit::NetworkCache::Storage::deleteOldVersions):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r244762 r244767  
     12019-04-30  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r244750): [GTK][WPE] Network process is crashing in all layout tests
     4        https://bugs.webkit.org/show_bug.cgi?id=197406
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Do not trasnfer ownership of cachePath to traverseDirectory() lambda, since it's passed also as first argument
     9        and it can be passed as a reference.
     10
     11        * NetworkProcess/cache/NetworkCacheStorage.cpp:
     12        (WebKit::NetworkCache::Storage::deleteOldVersions):
     13
    1142019-04-29  Truitt Savell  <tsavell@apple.com>
    215
  • trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp

    r244750 r244767  
    11111111{
    11121112    backgroundIOQueue().dispatch([cachePath = basePath()] () mutable {
    1113         traverseDirectory(cachePath, [cachePath = WTFMove(cachePath)](const String& subdirName, DirectoryEntryType type) {
     1113        traverseDirectory(cachePath, [&cachePath](const String& subdirName, DirectoryEntryType type) {
    11141114            if (type != DirectoryEntryType::Directory)
    11151115                return;
Note: See TracChangeset for help on using the changeset viewer.