[Webkit-unassigned] [Bug 45750] Move backing-store contents on slow scrolls
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 3 19:34:32 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45750
--- Comment #13 from Antonio Gomes <tonikitoo at webkit.org> 2010-10-03 19:34:31 PST ---
>
> > > WebCore/page/ChromeClient.h:138
> > > + virtual void invalidateContentsForSlowScroll(const IntSize&, const IntRect&, bool) = 0;
> >
> > it is not obvious what the size here is for so I would write out the variable name... is it for a delta? The original method is not much better though, I wonder what the bool is for!
> >
> Yes, it's for a delta. I've just followed the WebCore policy of putting only the types on the header files.
In WebCore, we do not name variable in the header when they do not add info.
For example, in "IntSize size" , the "size" is useless, and we omit it.
In your bool case, no one who reads the header will have a clue of what the bool is about, so we name it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list