Changeset 243846 in webkit
- Timestamp:
- Apr 3, 2019, 7:52:58 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r243845 r243846 1 2019-04-03 Simon Fraser <simon.fraser@apple.com> 2 3 Remove some redundant memebers from ScrollingStateFrameScrollingNode 4 https://bugs.webkit.org/show_bug.cgi?id=196571 5 6 Reviewed by Zalan Bujtas. 7 8 m_requestedScrollPosition and m_requestedScrollPositionRepresentsProgrammaticScroll were 9 duplicated on ScrollingStateFrameScrollingNode and ScrollingStateScrollingNode, so 10 remove them from the derived class. 11 12 * page/scrolling/ScrollingStateFrameScrollingNode.cpp: 13 (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode): 14 (WebCore::ScrollingStateFrameScrollingNode::dumpProperties const): 15 * page/scrolling/ScrollingStateFrameScrollingNode.h: 16 1 17 2019-04-03 Said Abou-Hallawa <sabouhallawa@apple.com> 2 18 -
trunk/Source/WebCore/page/scrolling/ScrollingStateFrameScrollingNode.cpp
r242359 r243846 48 48 : ScrollingStateScrollingNode(stateNode, adoptiveTree) 49 49 , m_eventTrackingRegions(stateNode.eventTrackingRegions()) 50 , m_requestedScrollPosition(stateNode.requestedScrollPosition())51 50 , m_layoutViewport(stateNode.layoutViewport()) 52 51 , m_minLayoutViewportOrigin(stateNode.minLayoutViewportOrigin()) … … 58 57 , m_synchronousScrollingReasons(stateNode.synchronousScrollingReasons()) 59 58 , m_behaviorForFixed(stateNode.scrollBehaviorForFixedElements()) 60 , m_requestedScrollPositionRepresentsProgrammaticScroll(stateNode.requestedScrollPositionRepresentsProgrammaticScroll())61 59 , m_fixedElementsLayoutRelativeToFrame(stateNode.fixedElementsLayoutRelativeToFrame()) 62 60 , m_asyncFrameOrOverflowScrollingEnabled(stateNode.asyncFrameOrOverflowScrollingEnabled()) … … 332 330 ts.dumpProperty("behavior for fixed", m_behaviorForFixed); 333 331 334 if (m_requestedScrollPosition != FloatPoint())335 ts.dumpProperty("requested scroll position", m_requestedScrollPosition);336 if (m_requestedScrollPositionRepresentsProgrammaticScroll)337 ts.dumpProperty("requested scroll position represents programmatic scroll", m_requestedScrollPositionRepresentsProgrammaticScroll);338 339 332 if (m_fixedElementsLayoutRelativeToFrame) 340 333 ts.dumpProperty("fixed elements lay out relative to frame", m_fixedElementsLayoutRelativeToFrame); -
trunk/Source/WebCore/page/scrolling/ScrollingStateFrameScrollingNode.h
r242359 r243846 146 146 147 147 EventTrackingRegions m_eventTrackingRegions; 148 FloatPoint m_requestedScrollPosition;149 148 150 149 FloatRect m_layoutViewport; … … 158 157 SynchronousScrollingReasons m_synchronousScrollingReasons { 0 }; 159 158 ScrollBehaviorForFixedElements m_behaviorForFixed { StickToDocumentBounds }; 160 bool m_requestedScrollPositionRepresentsProgrammaticScroll { false };161 159 bool m_fixedElementsLayoutRelativeToFrame { false }; 162 160 bool m_asyncFrameOrOverflowScrollingEnabled { false };
Note:
See TracChangeset
for help on using the changeset viewer.