Title: [140780] tags/Safari-537.27/Source/WebCore
- Revision
- 140780
- Author
- [email protected]
- Date
- 2013-01-24 21:43:33 -0800 (Thu, 24 Jan 2013)
Log Message
Merged r140732. <rdar://problem/12417489> | <rdar://problem/12417489>
Modified Paths
Diff
Modified: tags/Safari-537.27/Source/WebCore/ChangeLog (140779 => 140780)
--- tags/Safari-537.27/Source/WebCore/ChangeLog 2013-01-25 05:36:00 UTC (rev 140779)
+++ tags/Safari-537.27/Source/WebCore/ChangeLog 2013-01-25 05:43:33 UTC (rev 140780)
@@ -1,3 +1,22 @@
+2013-01-24 Lucas Forschler <[email protected]>
+
+ Merge r140732
+
+ 2013-01-24 James Robinson <[email protected]>
+
+ REGRESSION(140571): Crash in ScrollingCoordinator::mainThreadScrollingReasons during Frame::createView
+ https://bugs.webkit.org/show_bug.cgi?id=107868
+
+ Reviewed by Beth Dakin.
+
+ When using fixed layout mode, it's possible to update the scrollbar state of the main FrameView before
+ it's set on the main frame, which can lead to calling in to ScrollingCoordinator to compute main thread
+ scrolling regions when m_page->mainFrame()->view() is 0. In this case, we don't have any main
+ thread scrolling reasons and should just return 0.
+
+ * page/scrolling/ScrollingCoordinator.cpp:
+ (WebCore::ScrollingCoordinator::mainThreadScrollingReasons):
+
2013-01-22 Robert Hogan <[email protected]>
Inline Containing Only Collapsed Whitespace Not Getting a Linebox
Modified: tags/Safari-537.27/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp (140779 => 140780)
--- tags/Safari-537.27/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp 2013-01-25 05:36:00 UTC (rev 140779)
+++ tags/Safari-537.27/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp 2013-01-25 05:43:33 UTC (rev 140780)
@@ -449,6 +449,8 @@
MainThreadScrollingReasons ScrollingCoordinator::mainThreadScrollingReasons() const
{
FrameView* frameView = m_page->mainFrame()->view();
+ if (!frameView)
+ return static_cast<MainThreadScrollingReasons>(0);
MainThreadScrollingReasons mainThreadScrollingReasons = (MainThreadScrollingReasons)0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes