Changeset 170196 in webkit
- Timestamp:
- Jun 20, 2014, 12:14:47 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 29 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/page/scrolling/AsyncScrollingCoordinator.h (modified) (1 diff)
-
WebCore/page/scrolling/ScrollingTree.cpp (modified) (2 diffs)
-
WebCore/page/scrolling/ScrollingTree.h (modified) (2 diffs)
-
WebCore/page/scrolling/ScrollingTreeNode.cpp (modified) (1 diff)
-
WebCore/page/scrolling/ScrollingTreeNode.h (modified) (4 diffs)
-
WebCore/page/scrolling/ThreadedScrollingTree.cpp (modified) (1 diff)
-
WebCore/page/scrolling/ThreadedScrollingTree.h (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.h (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingTreeIOS.cpp (modified) (1 diff)
-
WebCore/page/scrolling/ios/ScrollingTreeIOS.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeFixedNode.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeFixedNode.mm (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeStickyNode.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeStickyNode.mm (modified) (1 diff)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/UIProcess/Scrolling/RemoteScrollingTree.cpp (modified) (1 diff)
-
WebKit2/UIProcess/Scrolling/RemoteScrollingTree.h (modified) (1 diff)
-
WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.h (modified) (1 diff)
-
WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.mm (modified) (1 diff)
-
WebKit2/WebProcess/Scrolling/RemoteScrollingCoordinator.h (modified) (1 diff)
-
WebKit2/WebProcess/Scrolling/RemoteScrollingCoordinator.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r170193 r170196 1 2014-06-19 Simon Fraser <simon.fraser@apple.com> 2 3 Make ScrollingTreeNodes refounted, for easier tree reconfiguration 4 https://bugs.webkit.org/show_bug.cgi?id=134075 5 6 Reviewed by Tim Horton. 7 8 Make ScrollingTreeNode be ref-counted. 9 10 * page/scrolling/AsyncScrollingCoordinator.h: 11 * page/scrolling/ScrollingTree.cpp: 12 (WebCore::ScrollingTree::handleWheelEvent): 13 (WebCore::ScrollingTree::updateTreeFromStateNode): 14 * page/scrolling/ScrollingTree.h: 15 (WebCore::ScrollingTree::rootNode): 16 * page/scrolling/ScrollingTreeNode.cpp: 17 (WebCore::ScrollingTreeNode::appendChild): 18 * page/scrolling/ScrollingTreeNode.h: 19 * page/scrolling/ThreadedScrollingTree.cpp: 20 (WebCore::ThreadedScrollingTree::createNode): 21 * page/scrolling/ThreadedScrollingTree.h: 22 * page/scrolling/ios/ScrollingCoordinatorIOS.h: 23 * page/scrolling/ios/ScrollingCoordinatorIOS.mm: 24 (WebCore::ScrollingCoordinatorIOS::createScrollingTreeNode): 25 * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: 26 * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: 27 (WebCore::ScrollingTreeFrameScrollingNodeIOS::create): 28 * page/scrolling/ios/ScrollingTreeIOS.cpp: 29 (WebCore::ScrollingTreeIOS::createNode): 30 * page/scrolling/ios/ScrollingTreeIOS.h: 31 * page/scrolling/mac/ScrollingCoordinatorMac.h: 32 * page/scrolling/mac/ScrollingCoordinatorMac.mm: 33 (WebCore::ScrollingCoordinatorMac::createScrollingTreeNode): 34 * page/scrolling/mac/ScrollingTreeFixedNode.h: 35 * page/scrolling/mac/ScrollingTreeFixedNode.mm: 36 (WebCore::ScrollingTreeFixedNode::create): 37 * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h: 38 * page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm: 39 (WebCore::ScrollingTreeFrameScrollingNodeMac::create): 40 * page/scrolling/mac/ScrollingTreeStickyNode.h: 41 * page/scrolling/mac/ScrollingTreeStickyNode.mm: 42 (WebCore::ScrollingTreeStickyNode::create): 43 1 44 2014-06-20 Enrica Casucci <enrica@apple.com> 2 45 -
trunk/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.h
r169733 r170196 54 54 ScrollingTree* scrollingTree() const { return m_scrollingTree.get(); } 55 55 56 virtual Pass OwnPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) = 0;56 virtual PassRefPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) = 0; 57 57 58 58 void scrollingStateTreePropertiesChanged(); -
trunk/Source/WebCore/page/scrolling/ScrollingTree.cpp
r170118 r170196 96 96 { 97 97 if (m_rootNode) 98 m_rootNode->handleWheelEvent(wheelEvent);98 toScrollingTreeScrollingNode(m_rootNode.get())->handleWheelEvent(wheelEvent); 99 99 } 100 100 … … 178 178 m_nodeMap.clear(); 179 179 180 m_rootNode = static_pointer_cast<ScrollingTreeScrollingNode>(createNode(FrameScrollingNode, nodeID));180 m_rootNode = createNode(FrameScrollingNode, nodeID); 181 181 m_nodeMap.set(nodeID, m_rootNode.get()); 182 182 m_rootNode->updateBeforeChildren(*stateNode); 183 183 node = m_rootNode.get(); 184 184 } else { 185 OwnPtr<ScrollingTreeNode> newNode = createNode(stateNode->nodeType(), nodeID);185 RefPtr<ScrollingTreeNode> newNode = createNode(stateNode->nodeType(), nodeID); 186 186 node = newNode.get(); 187 187 m_nodeMap.set(nodeID, node); -
trunk/Source/WebCore/page/scrolling/ScrollingTree.h
r169791 r170196 117 117 bool scrollingPerformanceLoggingEnabled(); 118 118 119 ScrollingTree ScrollingNode* rootNode() const { return m_rootNode.get(); }119 ScrollingTreeNode* rootNode() const { return m_rootNode.get(); } 120 120 121 121 ScrollingNodeID latchedNode(); … … 134 134 void updateTreeFromStateNode(const ScrollingStateNode*); 135 135 136 virtual Pass OwnPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) = 0;136 virtual PassRefPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) = 0; 137 137 138 138 ScrollingTreeNode* nodeForID(ScrollingNodeID) const; 139 139 140 OwnPtr<ScrollingTreeScrollingNode> m_rootNode;140 RefPtr<ScrollingTreeNode> m_rootNode; 141 141 142 142 typedef HashMap<ScrollingNodeID, ScrollingTreeNode*> ScrollingTreeNodeMap; -
trunk/Source/WebCore/page/scrolling/ScrollingTreeNode.cpp
r169773 r170196 45 45 } 46 46 47 void ScrollingTreeNode::appendChild(Pass OwnPtr<ScrollingTreeNode> childNode)47 void ScrollingTreeNode::appendChild(PassRefPtr<ScrollingTreeNode> childNode) 48 48 { 49 49 childNode->setParent(this); 50 50 51 51 if (!m_children) 52 m_children = adoptPtr(new Vector<OwnPtr<ScrollingTreeNode>>);52 m_children = adoptPtr(new ScrollingTreeChildrenVector); 53 53 54 54 m_children->append(childNode); -
trunk/Source/WebCore/page/scrolling/ScrollingTreeNode.h
r169410 r170196 32 32 #include "ScrollTypes.h" 33 33 #include "ScrollingCoordinator.h" 34 #include <wtf/ PassOwnPtr.h>34 #include <wtf/RefCounted.h> 35 35 36 36 namespace WebCore { … … 40 40 class ScrollingStateScrollingNode; 41 41 42 class ScrollingTreeNode {42 class ScrollingTreeNode : public RefCounted<ScrollingTreeNode> { 43 43 public: 44 44 virtual ~ScrollingTreeNode(); … … 61 61 void setParent(ScrollingTreeNode* parent) { m_parent = parent; } 62 62 63 void appendChild(Pass OwnPtr<ScrollingTreeNode>);63 void appendChild(PassRefPtr<ScrollingTreeNode>); 64 64 void removeChild(ScrollingTreeNode*); 65 65 … … 68 68 ScrollingTree& scrollingTree() const { return m_scrollingTree; } 69 69 70 typedef Vector< OwnPtr<ScrollingTreeNode>> ScrollingTreeChildrenVector;70 typedef Vector<RefPtr<ScrollingTreeNode>> ScrollingTreeChildrenVector; 71 71 OwnPtr<ScrollingTreeChildrenVector> m_children; 72 72 -
trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp
r169409 r170196 117 117 #endif 118 118 119 Pass OwnPtr<ScrollingTreeNode> ThreadedScrollingTree::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID)119 PassRefPtr<ScrollingTreeNode> ThreadedScrollingTree::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID) 120 120 { 121 121 return m_scrollingCoordinator->createScrollingTreeNode(nodeType, nodeID); -
trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.h
r169409 r170196 60 60 explicit ThreadedScrollingTree(AsyncScrollingCoordinator*); 61 61 62 virtual Pass OwnPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) override;62 virtual PassRefPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) override; 63 63 64 64 virtual void scrollingTreeNodeDidScroll(ScrollingNodeID, const FloatPoint& scrollPosition, SetOrSyncScrollingLayerPosition = SyncScrollingLayerPosition) override; -
trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.h
r162139 r170196 52 52 53 53 private: 54 virtual Pass OwnPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) override;54 virtual PassRefPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) override; 55 55 virtual void scheduleTreeStateCommit() override; 56 56 -
trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm
r169063 r170196 105 105 } 106 106 107 Pass OwnPtr<ScrollingTreeNode> ScrollingCoordinatorIOS::createScrollingTreeNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID)107 PassRefPtr<ScrollingTreeNode> ScrollingCoordinatorIOS::createScrollingTreeNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID) 108 108 { 109 109 ASSERT(scrollingTree()); -
trunk/Source/WebCore/page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h
r169410 r170196 38 38 class ScrollingTreeFrameScrollingNodeIOS : public ScrollingTreeFrameScrollingNode { 39 39 public: 40 static Pass OwnPtr<ScrollingTreeFrameScrollingNodeIOS> create(ScrollingTree&, ScrollingNodeID);40 static PassRefPtr<ScrollingTreeFrameScrollingNodeIOS> create(ScrollingTree&, ScrollingNodeID); 41 41 virtual ~ScrollingTreeFrameScrollingNodeIOS(); 42 42 -
trunk/Source/WebCore/page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm
r169411 r170196 41 41 namespace WebCore { 42 42 43 Pass OwnPtr<ScrollingTreeFrameScrollingNodeIOS> ScrollingTreeFrameScrollingNodeIOS::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID)44 { 45 return adopt Ptr(new ScrollingTreeFrameScrollingNodeIOS(scrollingTree, nodeID));43 PassRefPtr<ScrollingTreeFrameScrollingNodeIOS> ScrollingTreeFrameScrollingNodeIOS::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID) 44 { 45 return adoptRef(new ScrollingTreeFrameScrollingNodeIOS(scrollingTree, nodeID)); 46 46 } 47 47 -
trunk/Source/WebCore/page/scrolling/ios/ScrollingTreeIOS.cpp
r169411 r170196 93 93 } 94 94 95 Pass OwnPtr<ScrollingTreeNode> ScrollingTreeIOS::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID)95 PassRefPtr<ScrollingTreeNode> ScrollingTreeIOS::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID) 96 96 { 97 97 return m_scrollingCoordinator->createScrollingTreeNode(nodeType, nodeID); -
trunk/Source/WebCore/page/scrolling/ios/ScrollingTreeIOS.h
r169411 r170196 55 55 virtual bool isScrollingTreeIOS() const override { return true; } 56 56 57 virtual Pass OwnPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) override;57 virtual PassRefPtr<ScrollingTreeNode> createNode(ScrollingNodeType, ScrollingNodeID) override; 58 58 59 59 virtual void scrollingTreeNodeDidScroll(ScrollingNodeID, const FloatPoint& scrollPosition, SetOrSyncScrollingLayerPosition = SyncScrollingLayerPosition) override; -
trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h
r169409 r170196 52 52 53 53 private: 54 virtual Pass OwnPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) override;54 virtual PassRefPtr<ScrollingTreeNode> createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) override; 55 55 virtual void scheduleTreeStateCommit() override; 56 56 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm
r169409 r170196 143 143 } 144 144 145 Pass OwnPtr<ScrollingTreeNode> ScrollingCoordinatorMac::createScrollingTreeNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID)145 PassRefPtr<ScrollingTreeNode> ScrollingCoordinatorMac::createScrollingTreeNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID) 146 146 { 147 147 ASSERT(scrollingTree()); -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFixedNode.h
r169410 r170196 41 41 class ScrollingTreeFixedNode : public ScrollingTreeNode { 42 42 public: 43 static Pass OwnPtr<ScrollingTreeFixedNode> create(ScrollingTree&, ScrollingNodeID);43 static PassRefPtr<ScrollingTreeFixedNode> create(ScrollingTree&, ScrollingNodeID); 44 44 45 45 virtual ~ScrollingTreeFixedNode(); -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFixedNode.mm
r169430 r170196 35 35 namespace WebCore { 36 36 37 Pass OwnPtr<ScrollingTreeFixedNode> ScrollingTreeFixedNode::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID)37 PassRefPtr<ScrollingTreeFixedNode> ScrollingTreeFixedNode::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID) 38 38 { 39 return adopt Ptr(new ScrollingTreeFixedNode(scrollingTree, nodeID));39 return adoptRef(new ScrollingTreeFixedNode(scrollingTree, nodeID)); 40 40 } 41 41 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h
r169410 r170196 40 40 class ScrollingTreeFrameScrollingNodeMac : public ScrollingTreeFrameScrollingNode, private ScrollElasticityControllerClient { 41 41 public: 42 static Pass OwnPtr<ScrollingTreeFrameScrollingNode> create(ScrollingTree&, ScrollingNodeID);42 static PassRefPtr<ScrollingTreeFrameScrollingNode> create(ScrollingTree&, ScrollingNodeID); 43 43 virtual ~ScrollingTreeFrameScrollingNodeMac(); 44 44 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
r169773 r170196 51 51 52 52 53 Pass OwnPtr<ScrollingTreeFrameScrollingNode> ScrollingTreeFrameScrollingNodeMac::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID)54 { 55 return adopt Ptr(new ScrollingTreeFrameScrollingNodeMac(scrollingTree, nodeID));53 PassRefPtr<ScrollingTreeFrameScrollingNode> ScrollingTreeFrameScrollingNodeMac::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID) 54 { 55 return adoptRef(new ScrollingTreeFrameScrollingNodeMac(scrollingTree, nodeID)); 56 56 } 57 57 -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeStickyNode.h
r169410 r170196 41 41 class ScrollingTreeStickyNode : public ScrollingTreeNode { 42 42 public: 43 static Pass OwnPtr<ScrollingTreeStickyNode> create(ScrollingTree&, ScrollingNodeID);43 static PassRefPtr<ScrollingTreeStickyNode> create(ScrollingTree&, ScrollingNodeID); 44 44 45 45 virtual ~ScrollingTreeStickyNode(); -
trunk/Source/WebCore/page/scrolling/mac/ScrollingTreeStickyNode.mm
r169430 r170196 36 36 namespace WebCore { 37 37 38 Pass OwnPtr<ScrollingTreeStickyNode> ScrollingTreeStickyNode::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID)38 PassRefPtr<ScrollingTreeStickyNode> ScrollingTreeStickyNode::create(ScrollingTree& scrollingTree, ScrollingNodeID nodeID) 39 39 { 40 return adopt Ptr(new ScrollingTreeStickyNode(scrollingTree, nodeID));40 return adoptRef(new ScrollingTreeStickyNode(scrollingTree, nodeID)); 41 41 } 42 42 -
trunk/Source/WebKit2/ChangeLog
r170195 r170196 1 2014-06-19 Simon Fraser <simon.fraser@apple.com> 2 3 Make ScrollingTreeNodes refounted, for easier tree reconfiguration 4 https://bugs.webkit.org/show_bug.cgi?id=134075 5 6 Reviewed by Tim Horton. 7 8 Make ScrollingTreeNode be ref-counted. 9 10 * UIProcess/Scrolling/RemoteScrollingTree.cpp: 11 (WebKit::RemoteScrollingTree::createNode): 12 * UIProcess/Scrolling/RemoteScrollingTree.h: 13 * UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.h: 14 * UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.mm: 15 (WebKit::ScrollingTreeOverflowScrollingNodeIOS::create): 16 * WebProcess/Scrolling/RemoteScrollingCoordinator.h: 17 * WebProcess/Scrolling/RemoteScrollingCoordinator.mm: 18 (WebKit::RemoteScrollingCoordinator::createScrollingTreeNode): 19 1 20 2014-06-20 Dan Bernstein <mitz@apple.com> 2 21 -
trunk/Source/WebKit2/UIProcess/Scrolling/RemoteScrollingTree.cpp
r169791 r170196 100 100 } 101 101 102 Pass OwnPtr<ScrollingTreeNode> RemoteScrollingTree::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID)102 PassRefPtr<ScrollingTreeNode> RemoteScrollingTree::createNode(ScrollingNodeType nodeType, ScrollingNodeID nodeID) 103 103 { 104 104 switch (nodeType) { -
trunk/Source/WebKit2/UIProcess/Scrolling/RemoteScrollingTree.h
r169791 r170196 62 62 #endif 63 63 64 virtual Pass OwnPtr<WebCore::ScrollingTreeNode> createNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID);64 virtual PassRefPtr<WebCore::ScrollingTreeNode> createNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID); 65 65 66 66 RemoteScrollingCoordinatorProxy& m_scrollingCoordinatorProxy; -
trunk/Source/WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.h
r169791 r170196 38 38 class ScrollingTreeOverflowScrollingNodeIOS : public WebCore::ScrollingTreeOverflowScrollingNode { 39 39 public: 40 static Pass OwnPtr<ScrollingTreeOverflowScrollingNodeIOS> create(WebCore::ScrollingTree&, WebCore::ScrollingNodeID);40 static PassRefPtr<ScrollingTreeOverflowScrollingNodeIOS> create(WebCore::ScrollingTree&, WebCore::ScrollingNodeID); 41 41 virtual ~ScrollingTreeOverflowScrollingNodeIOS(); 42 42 -
trunk/Source/WebKit2/UIProcess/Scrolling/ios/ScrollingTreeOverflowScrollingNodeIOS.mm
r169791 r170196 92 92 namespace WebKit { 93 93 94 Pass OwnPtr<ScrollingTreeOverflowScrollingNodeIOS> ScrollingTreeOverflowScrollingNodeIOS::create(WebCore::ScrollingTree& scrollingTree, WebCore::ScrollingNodeID nodeID)95 { 96 return adopt Ptr(new ScrollingTreeOverflowScrollingNodeIOS(scrollingTree, nodeID));94 PassRefPtr<ScrollingTreeOverflowScrollingNodeIOS> ScrollingTreeOverflowScrollingNodeIOS::create(WebCore::ScrollingTree& scrollingTree, WebCore::ScrollingNodeID nodeID) 95 { 96 return adoptRef(new ScrollingTreeOverflowScrollingNodeIOS(scrollingTree, nodeID)); 97 97 } 98 98 -
trunk/Source/WebKit2/WebProcess/Scrolling/RemoteScrollingCoordinator.h
r169733 r170196 65 65 virtual void scheduleTreeStateCommit() override; 66 66 67 virtual Pass OwnPtr<WebCore::ScrollingTreeNode> createScrollingTreeNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID) override;67 virtual PassRefPtr<WebCore::ScrollingTreeNode> createScrollingTreeNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID) override; 68 68 virtual bool isRubberBandInProgress() const override; 69 69 virtual void setScrollPinningBehavior(WebCore::ScrollPinningBehavior) override; -
trunk/Source/WebKit2/WebProcess/Scrolling/RemoteScrollingCoordinator.mm
r169733 r170196 68 68 } 69 69 70 Pass OwnPtr<ScrollingTreeNode> RemoteScrollingCoordinator::createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID)70 PassRefPtr<ScrollingTreeNode> RemoteScrollingCoordinator::createScrollingTreeNode(ScrollingNodeType, ScrollingNodeID) 71 71 { 72 72 // We never created scrolling nodes in the WebProcess with remote scrolling.
Note:
See TracChangeset
for help on using the changeset viewer.