(Async scrolling) Handle 'position:fixed' inside 'position:sticky' correctly.
[WebKit-https.git] / Source / WebCore / page / scrolling / cocoa / ScrollingTreeStickyNode.h
index 376fafe..3774c30 100644 (file)
@@ -41,12 +41,18 @@ public:
 
     virtual ~ScrollingTreeStickyNode();
 
+    FloatSize scrollDeltaSinceLastCommit() const;
+
+    CALayer *layer() { return m_layer.get(); }
+
 private:
     ScrollingTreeStickyNode(ScrollingTree&, ScrollingNodeID);
 
     void commitStateBeforeChildren(const ScrollingStateNode&) override;
     void applyLayerPositions() override;
 
+    FloatPoint computeLayerPosition() const;
+
     void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override;
 
     StickyPositionViewportConstraints m_constraints;