Changeset 241401 in webkit
- Timestamp:
- Feb 13, 2019 1:07:23 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r241352 r241401 1 2019-02-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 Crash in Page::setActivityState because m_page is null 4 https://bugs.webkit.org/show_bug.cgi?id=194584 5 6 Reviewed by Antti Koivisto. 7 8 Add a null check to avoid the crash. Also add a debug assertion to help diagnose this in the future. 9 10 * WebProcess/WebPage/WebPage.cpp: 11 (WebKit::WebPage::setActivityState): 12 1 13 2019-02-13 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r241321 r241401 3046 3046 updateThrottleState(); 3047 3047 3048 { 3048 ASSERT_WITH_MESSAGE(m_page, "setActivityState called on %lld but WebCore page was null", pageID()); 3049 if (m_page) { 3049 3050 SetForScope<bool> currentlyChangingActivityState { m_changingActivityState, true }; 3050 3051 m_page->setActivityState(activityState);
Note: See TracChangeset
for help on using the changeset viewer.