Changeset 254611 in webkit
- Timestamp:
- Jan 15, 2020, 11:15:47 AM (7 years ago)
- Location:
- branches/safari-609-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebProcess.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebKit/ChangeLog
r254610 r254611 1 2020-01-14 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r254310. rdar://problem/58552856 4 5 Check the existence of the optional m_sessionID before using it in WebProcess::setResourceLoadStatisticsEnabled() 6 https://bugs.webkit.org/show_bug.cgi?id=206035 7 <rdar://problem/58455306> 8 9 Reviewed by Brent Fulgham. 10 11 No new tests. 12 13 * WebProcess/WebProcess.cpp: 14 (WebKit::WebProcess::setResourceLoadStatisticsEnabled): 15 Added a check that m_sessionID exists. 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254310 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2020-01-09 John Wilander <wilander@apple.com> 21 22 Check the existence of the optional m_sessionID before using it in WebProcess::setResourceLoadStatisticsEnabled() 23 https://bugs.webkit.org/show_bug.cgi?id=206035 24 <rdar://problem/58455306> 25 26 Reviewed by Brent Fulgham. 27 28 No new tests. 29 30 * WebProcess/WebProcess.cpp: 31 (WebKit::WebProcess::setResourceLoadStatisticsEnabled): 32 Added a check that m_sessionID exists. 33 1 34 2020-01-14 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-609-branch/Source/WebKit/WebProcess/WebProcess.cpp
r253990 r254611 1635 1635 void WebProcess::setResourceLoadStatisticsEnabled(bool enabled) 1636 1636 { 1637 if (WebCore::DeprecatedGlobalSettings::resourceLoadStatisticsEnabled() == enabled || m_sessionID->isEphemeral())1637 if (WebCore::DeprecatedGlobalSettings::resourceLoadStatisticsEnabled() == enabled || (m_sessionID && m_sessionID->isEphemeral())) 1638 1638 return; 1639 1639 WebCore::DeprecatedGlobalSettings::setResourceLoadStatisticsEnabled(enabled);
Note:
See TracChangeset
for help on using the changeset viewer.