Changeset 247111 in webkit
- Timestamp:
- Jul 3, 2019 3:14:04 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r247109 r247111 1 2019-07-03 Youenn Fablet <youenn@apple.com> 2 3 Isolate CacheStorage::Engine path when hopping to a background thread 4 https://bugs.webkit.org/show_bug.cgi?id=199461 5 6 Reviewed by Chris Dumez. 7 8 * NetworkProcess/cache/CacheStorageEngine.cpp: 9 (WebKit::CacheStorage::Engine::initialize): 10 1 11 2019-07-03 Jer Noble <jer.noble@apple.com> 2 12 -
trunk/Source/WebKit/NetworkProcess/cache/CacheStorageEngine.cpp
r245715 r247111 300 300 return; 301 301 302 String saltPath = FileSystem::pathByAppendingComponent(m_rootPath, "salt"_s);303 m_ioQueue->dispatch([this, weakThis = makeWeakPtr(this), saltPath = WTFMove(saltPath)] () mutable {304 FileSystem::makeAllDirectories(m_rootPath);302 m_ioQueue->dispatch([this, weakThis = makeWeakPtr(this), rootPath = m_rootPath.isolatedCopy()] () mutable { 303 FileSystem::makeAllDirectories(rootPath); 304 String saltPath = FileSystem::pathByAppendingComponent(rootPath, "salt"_s); 305 305 RunLoop::main().dispatch([this, weakThis = WTFMove(weakThis), salt = readOrMakeSalt(saltPath)]() mutable { 306 306 if (!weakThis)
Note: See TracChangeset
for help on using the changeset viewer.