Changeset 147949 in webkit
- Timestamp:
- Apr 8, 2013 2:00:12 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147942 r147949 1 2013-04-08 Beth Dakin <bdakin@apple.com> 2 3 Crash in ScrollingCoordinator::mainThreadScrollingReasons() when going back 4 https://bugs.webkit.org/show_bug.cgi?id=114214 5 -and corresponding- 6 <rdar://problem/13208616> 7 8 Reviewed by Anders Carlsson. 9 10 When a page is restoring from the page cache, the mainFrame can have a null 11 Document. So we should null-check the Document here. 12 13 * page/scrolling/ScrollingCoordinator.cpp: 14 (WebCore::ScrollingCoordinator::mainThreadScrollingReasons): 15 1 16 2013-04-08 Andrei Bucur <abucur@adobe.com> 2 17 -
trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
r147749 r147949 459 459 if (supportsFixedPositionLayers() && hasVisibleSlowRepaintViewportConstrainedObjects(frameView)) 460 460 mainThreadScrollingReasons |= HasNonLayerViewportConstrainedObjects; 461 if (m_page->mainFrame()->document() ->isImageDocument())461 if (m_page->mainFrame()->document() && m_page->mainFrame()->document()->isImageDocument()) 462 462 mainThreadScrollingReasons |= IsImageDocument; 463 463
Note: See TracChangeset
for help on using the changeset viewer.