REGRESSION(r244750): [GTK][WPE] Network process is crashing in all layout tests
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Apr 2019 11:00:30 +0000 (11:00 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Apr 2019 11:00:30 +0000 (11:00 +0000)
commite08e1f8f5d5c201ce38b70124899939ce0b277ee
tree102d14ad13d4f7c74d8de0af8afba2a66c691712
parent213461821f4c19c18740f417c5e2afe5cf57a929
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp