[Webkit-unassigned] [Bug 139636] New: Change HysteresisActivity to use a lambda

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 14 21:18:31 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139636

            Bug ID: 139636
           Summary: Change HysteresisActivity to use a lambda
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: barraclough at apple.com

The current implementation provides notifications via callbacks to a delegate. Using a delegate with callbacks is limiting a number of ways. The callback names are very ambiguous, the callbacks must either be on a separate object (more boilerplate), or the callback must be public for HysteresisActivity to call them, or friends get involved. Without the boilerplate of extra delegate objects it's hard to scale use of these objects – a single object can't serve as a delegate for multiple HysteresisActivity members.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141215/18ceefce/attachment-0002.html>


More information about the webkit-unassigned mailing list