Changeset 254310 in webkit
- Timestamp:
- Jan 9, 2020, 3:47:34 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebProcess.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r254307 r254310 1 2020-01-09 John Wilander <wilander@apple.com> 2 3 Check the existence of the optional m_sessionID before using it in WebProcess::setResourceLoadStatisticsEnabled() 4 https://bugs.webkit.org/show_bug.cgi?id=206035 5 <rdar://problem/58455306> 6 7 Reviewed by Brent Fulgham. 8 9 No new tests. 10 11 * WebProcess/WebProcess.cpp: 12 (WebKit::WebProcess::setResourceLoadStatisticsEnabled): 13 Added a check that m_sessionID exists. 14 1 15 2020-01-09 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebKit/WebProcess/WebProcess.cpp
r254210 r254310 1631 1631 void WebProcess::setResourceLoadStatisticsEnabled(bool enabled) 1632 1632 { 1633 if (WebCore::DeprecatedGlobalSettings::resourceLoadStatisticsEnabled() == enabled || m_sessionID->isEphemeral())1633 if (WebCore::DeprecatedGlobalSettings::resourceLoadStatisticsEnabled() == enabled || (m_sessionID && m_sessionID->isEphemeral())) 1634 1634 return; 1635 1635 WebCore::DeprecatedGlobalSettings::setResourceLoadStatisticsEnabled(enabled);
Note:
See TracChangeset
for help on using the changeset viewer.