Title: [242022] branches/safari-607-branch/Source/WebCore
- Revision
- 242022
- Author
- [email protected]
- Date
- 2019-02-24 20:47:01 -0800 (Sun, 24 Feb 2019)
Log Message
Cherry-pick r241830. rdar://problem/48248202
REGRESSION (r241788>): ASSERTION FAILED: !m_normalFlowListDirty in TestWebKitAPI.WebKit.ResizeReversePaginatedWebView test
https://bugs.webkit.org/show_bug.cgi?id=194866
Reviewed by Antti Koivisto.
r241788 removed some calls that updated layer lists (normal flow and z-order) during compositing updates, causing
a later call to RenderLayerCompositor::recursiveRepaintLayer() to assert when the lists were dirty. Fix by updating
the lists in RenderLayerCompositor::recursiveRepaintLayer(), as we do in various other places.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::recursiveRepaintLayer):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-607-branch/Source/WebCore/ChangeLog (242021 => 242022)
--- branches/safari-607-branch/Source/WebCore/ChangeLog 2019-02-25 04:46:59 UTC (rev 242021)
+++ branches/safari-607-branch/Source/WebCore/ChangeLog 2019-02-25 04:47:01 UTC (rev 242022)
@@ -1,3 +1,35 @@
+2019-02-24 Babak Shafiei <[email protected]>
+
+ Cherry-pick r241830. rdar://problem/48248202
+
+ REGRESSION (r241788>): ASSERTION FAILED: !m_normalFlowListDirty in TestWebKitAPI.WebKit.ResizeReversePaginatedWebView test
+ https://bugs.webkit.org/show_bug.cgi?id=194866
+
+ Reviewed by Antti Koivisto.
+
+ r241788 removed some calls that updated layer lists (normal flow and z-order) during compositing updates, causing
+ a later call to RenderLayerCompositor::recursiveRepaintLayer() to assert when the lists were dirty. Fix by updating
+ the lists in RenderLayerCompositor::recursiveRepaintLayer(), as we do in various other places.
+
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::recursiveRepaintLayer):
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-02-20 Simon Fraser <[email protected]>
+
+ REGRESSION (r241788>): ASSERTION FAILED: !m_normalFlowListDirty in TestWebKitAPI.WebKit.ResizeReversePaginatedWebView test
+ https://bugs.webkit.org/show_bug.cgi?id=194866
+
+ Reviewed by Antti Koivisto.
+
+ r241788 removed some calls that updated layer lists (normal flow and z-order) during compositing updates, causing
+ a later call to RenderLayerCompositor::recursiveRepaintLayer() to assert when the lists were dirty. Fix by updating
+ the lists in RenderLayerCompositor::recursiveRepaintLayer(), as we do in various other places.
+
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::recursiveRepaintLayer):
+
2019-02-21 Alan Coon <[email protected]>
Apply patch. rdar://problem/48229545
Modified: branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp (242021 => 242022)
--- branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-02-25 04:46:59 UTC (rev 242021)
+++ branches/safari-607-branch/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-02-25 04:47:01 UTC (rev 242022)
@@ -1965,6 +1965,8 @@
void RenderLayerCompositor::recursiveRepaintLayer(RenderLayer& layer)
{
+ layer.updateLayerListsIfNeeded();
+
// FIXME: This method does not work correctly with transforms.
if (layer.isComposited() && !layer.backing()->paintsIntoCompositedAncestor())
layer.setBackingNeedsRepaint();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes