summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/scrolling/ScrollingStateFixedNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/scrolling/ScrollingStateFixedNode.h')
-rw-r--r--Source/WebCore/page/scrolling/ScrollingStateFixedNode.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/page/scrolling/ScrollingStateFixedNode.h b/Source/WebCore/page/scrolling/ScrollingStateFixedNode.h
index 98cb0ca10..a52d7b6d0 100644
--- a/Source/WebCore/page/scrolling/ScrollingStateFixedNode.h
+++ b/Source/WebCore/page/scrolling/ScrollingStateFixedNode.h
@@ -39,9 +39,9 @@ class FixedPositionViewportConstraints;
class ScrollingStateFixedNode final : public ScrollingStateNode {
public:
- static Ref<ScrollingStateFixedNode> create(ScrollingStateTree&, ScrollingNodeID);
+ static PassOwnPtr<ScrollingStateFixedNode> create(ScrollingStateTree&, ScrollingNodeID);
- virtual Ref<ScrollingStateNode> clone(ScrollingStateTree&) override;
+ virtual PassOwnPtr<ScrollingStateNode> clone(ScrollingStateTree&);
virtual ~ScrollingStateFixedNode();
@@ -49,7 +49,7 @@ public:
ViewportConstraints = NumStateNodeBits
};
- WEBCORE_EXPORT void updateConstraints(const FixedPositionViewportConstraints&);
+ void updateConstraints(const FixedPositionViewportConstraints&);
const FixedPositionViewportConstraints& viewportConstraints() const { return m_constraints; }
private:
@@ -63,9 +63,9 @@ private:
FixedPositionViewportConstraints m_constraints;
};
-} // namespace WebCore
+SCROLLING_STATE_NODE_TYPE_CASTS(ScrollingStateFixedNode, nodeType() == FixedNode);
-SPECIALIZE_TYPE_TRAITS_SCROLLING_STATE_NODE(ScrollingStateFixedNode, isFixedNode())
+} // namespace WebCore
#endif // ENABLE(ASYNC_SCROLLING) || USE(COORDINATED_GRAPHICS)