Changeset 228478 in webkit
- Timestamp:
- Feb 14, 2018 11:47:57 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r228473 r228478 1 2018-02-14 John Wilander <wilander@apple.com> 2 3 Make maximumParallelReadCount static to fix lambda capture error in WebKit::NetworkCache::Storage::traverse() 4 https://bugs.webkit.org/show_bug.cgi?id=182797 5 <rdar://problem/37540594> 6 7 Reviewed by Tim Horton. 8 9 This capture was added in r228455 and causes a build failure when 10 run with -Wunused-lambda-capture. Xcode also warns about it. 11 12 * NetworkProcess/cache/NetworkCacheStorage.cpp: 13 (WebKit::NetworkCache::Storage::traverse): 14 1 15 2018-02-14 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp
r228455 r228478 908 908 }); 909 909 910 const unsigned maximumParallelReadCount = 5;911 traverseOperation.activeCondition.wait(lock, [&traverseOperation , maximumParallelReadCount] {910 static const unsigned maximumParallelReadCount = 5; 911 traverseOperation.activeCondition.wait(lock, [&traverseOperation] { 912 912 return traverseOperation.activeCount <= maximumParallelReadCount; 913 913 });
Note: See TracChangeset
for help on using the changeset viewer.