Changeset 225508 in webkit
- Timestamp:
- Dec 4, 2017 5:11:52 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r225507 r225508 1 2017-12-04 Brent Fulgham <bfulgham@apple.com> 2 3 Don't force creation of process pool when enabling resource load statistics 4 https://bugs.webkit.org/show_bug.cgi?id=180374 5 <rdar://problem/35545639> 6 7 Reviewed by Alex Christensen. 8 9 Pass appropriate arguments to the 'processPool' accessor so that we only get the 10 set of existing process pools. We don't want to pay the cost of launching new 11 process pools just to set this flag. The flag will be properly set when the pools 12 are created as soon as a WebView is instantiated. 13 14 * UIProcess/WebsiteData/WebsiteDataStore.cpp: 15 (WebKit::WebsiteDataStore::setResourceLoadStatisticsEnabled): 16 1 17 2017-12-04 David Quesada <david_quesada@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
r225490 r225508 1327 1327 1328 1328 m_resourceLoadStatistics = nullptr; 1329 for (auto& processPool : processPools()) 1329 1330 auto existingProcessPools = processPools(std::numeric_limits<size_t>::max(), false); 1331 for (auto& processPool : existingProcessPools) 1330 1332 processPool->setResourceLoadStatisticsEnabled(false); 1331 1333 }
Note: See TracChangeset
for help on using the changeset viewer.