Title: [291646] branches/safari-613-branch/Source/WebKit
Revision
291646
Author
[email protected]
Date
2022-03-22 10:55:25 -0700 (Tue, 22 Mar 2022)

Log Message

Cherry-pick r290847. rdar://problem/89402338

    Crash under ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged()
    https://bugs.webkit.org/show_bug.cgi?id=237478
    <rdar://89072235>

    Reviewed by Alan Bujtas.

    Crash data show that r290109 failed to fix this crash; the actual cause of the crash is a
    null m_page on TiledCoreAnimationScrollingCoordinator, diagnosed by noting that the crash
    offset corresponds to the offset of m_renderingUpdateRemainingSteps in Page.

    * WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm:
    (WebKit::TiledCoreAnimationScrollingCoordinator::hasNodeWithAnimatedScrollChanged):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290847 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebKit/ChangeLog (291645 => 291646)


--- branches/safari-613-branch/Source/WebKit/ChangeLog	2022-03-22 17:55:22 UTC (rev 291645)
+++ branches/safari-613-branch/Source/WebKit/ChangeLog	2022-03-22 17:55:25 UTC (rev 291646)
@@ -1,5 +1,40 @@
 2022-03-21  Alan Coon  <[email protected]>
 
+        Cherry-pick r290847. rdar://problem/89402338
+
+    Crash under ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged()
+    https://bugs.webkit.org/show_bug.cgi?id=237478
+    <rdar://89072235>
+    
+    Reviewed by Alan Bujtas.
+    
+    Crash data show that r290109 failed to fix this crash; the actual cause of the crash is a
+    null m_page on TiledCoreAnimationScrollingCoordinator, diagnosed by noting that the crash
+    offset corresponds to the offset of m_renderingUpdateRemainingSteps in Page.
+    
+    * WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm:
+    (WebKit::TiledCoreAnimationScrollingCoordinator::hasNodeWithAnimatedScrollChanged):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-03-04  Simon Fraser  <[email protected]>
+
+            Crash under ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged()
+            https://bugs.webkit.org/show_bug.cgi?id=237478
+            <rdar://89072235>
+
+            Reviewed by Alan Bujtas.
+
+            Crash data show that r290109 failed to fix this crash; the actual cause of the crash is a
+            null m_page on TiledCoreAnimationScrollingCoordinator, diagnosed by noting that the crash
+            offset corresponds to the offset of m_renderingUpdateRemainingSteps in Page.
+
+            * WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm:
+            (WebKit::TiledCoreAnimationScrollingCoordinator::hasNodeWithAnimatedScrollChanged):
+
+2022-03-21  Alan Coon  <[email protected]>
+
         Cherry-pick r290744. rdar://problem/81609371
 
     [WebAuthn] Ensure presenter gets dismissed on iOS

Modified: branches/safari-613-branch/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm (291645 => 291646)


--- branches/safari-613-branch/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm	2022-03-22 17:55:22 UTC (rev 291645)
+++ branches/safari-613-branch/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationScrollingCoordinator.mm	2022-03-22 17:55:25 UTC (rev 291646)
@@ -48,11 +48,10 @@
 
 void TiledCoreAnimationScrollingCoordinator::hasNodeWithAnimatedScrollChanged(bool haveAnimatedScrollingNodes)
 {
-    ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged(haveAnimatedScrollingNodes);
-
     if (!m_page)
         return;
 
+    ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged(haveAnimatedScrollingNodes);
     m_page->setHasActiveAnimatedScrolls(haveAnimatedScrollingNodes);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to