Summary: | ScrollingTreeState should keep track of the scroll layer | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2012-02-03 12:15:45 PST
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. |