[Webkit-unassigned] [Bug 37220] Adding static method zeroPoint to class IntPoint.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 7 12:54:46 PDT 2010


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





--- Comment #3 from Darin Adler <darin at apple.com>  2010-04-07 12:54:46 PST ---
(In reply to comment #2)
>     inline IntPoint zeroIntPoint() { return IntPoint(); }

Outside the class, so it would be "zeroIntPoint()" at the call site.

>     static IntPoint zero() { return IntPoint(); }

Inside the class, so it would be "IntPoint::zero()" at the call site.

-- 
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