REGRESSION (r183300): Fixed elements flash when scrolling
[WebKit-https.git] / Source / WebCore / rendering / RenderLayerBacking.h
index 9868a5365dadd8288367dd49d994146986649a23..7ca629c84813297524f40259d8e8ce8b3cc32140 100644 (file)
@@ -126,12 +126,15 @@ public:
             break;
         case ViewportConstrained:
             m_viewportConstrainedNodeID = nodeID;
+            setIsScrollCoordinatedWithViewportConstrainedRole(nodeID);
             break;
         }
     }
     
     ScrollingNodeID scrollingNodeIDForChildren() const { return m_scrollingNodeID ? m_scrollingNodeID : m_viewportConstrainedNodeID; }
 
+    void setIsScrollCoordinatedWithViewportConstrainedRole(bool);
+
     bool hasMaskLayer() const { return m_maskLayer != 0; }
     bool hasChildClippingMaskLayer() const { return m_childClippingMaskLayer != nullptr; }