ScrollingTreeState should keep track of the scroll layer
Created attachment 125381 [details] Patch
Comment on attachment 125381 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=125381&action=review > Source/WebCore/ChangeLog:3 > + ScrollingTreeState should keep track of the scroll layer Why? > Source/WebCore/page/scrolling/mac/ScrollingTreeStateMac.mm:36 > +PlatformLayer* ScrollingTreeState::platformScrollLayer() const > +{ > + return m_platformScrollLayer.get(); > +} Inline?
Committed r106683: <http://trac.webkit.org/changeset/106683>
(In reply to comment #2) > (From update of attachment 125381 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=125381&action=review > > > Source/WebCore/ChangeLog:3 > > + ScrollingTreeState should keep track of the scroll layer > > Why? So it knows what to scroll! :-) > > > Source/WebCore/page/scrolling/mac/ScrollingTreeStateMac.mm:36 > > +PlatformLayer* ScrollingTreeState::platformScrollLayer() const > > +{ > > + return m_platformScrollLayer.get(); > > +} > > Inline? I didn't want to end up with a bunch of different #ifdefs with different inline functions.