Title: [241090] branches/safari-607-branch/Source/WebCore/page/scrolling/ScrollingStateTree.cpp
Revision
241090
Author
alanc...@apple.com
Date
2019-02-06 14:18:06 -0800 (Wed, 06 Feb 2019)

Log Message

Apply patch. rdar://problem/47383968

Modified Paths


Diff

Modified: branches/safari-607-branch/Source/WebCore/page/scrolling/ScrollingStateTree.cpp (241089 => 241090)


--- branches/safari-607-branch/Source/WebCore/page/scrolling/ScrollingStateTree.cpp	2019-02-06 22:18:04 UTC (rev 241089)
+++ branches/safari-607-branch/Source/WebCore/page/scrolling/ScrollingStateTree.cpp	2019-02-06 22:18:06 UTC (rev 241090)
@@ -100,6 +100,11 @@
             if (!parentID)
                 return newNodeID;
 
+            if (!parent) {
+                ASSERT_NOT_REACHED();
+                return 0;
+            }
+
             size_t currentIndex = parent->indexOfChild(*node);
             if (currentIndex == childIndex)
                 return newNodeID;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to