[webkit-reviews] review granted: [Bug 75827] Build fix: ScrollAnimatorMac has missing initializer in systemUptime() : [Attachment 121621] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 8 23:00:48 PST 2012


Darin Adler <darin at apple.com> has granted Benjamin Poulain
<benjamin at webkit.org>'s request for review:
Bug 75827: Build fix: ScrollAnimatorMac has missing initializer in
systemUptime()
https://bugs.webkit.org/show_bug.cgi?id=75827

Attachment 121621: Patch
https://bugs.webkit.org/attachment.cgi?id=121621&action=review

------- Additional Comments from Darin Adler <darin at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=121621&action=review


> Source/WebCore/platform/mac/ScrollAnimatorMac.mm:85
> +    static struct timeval boottime = {0, 0};

Since statics are initialized to zero anyway, this could instead just be:

    static struct timeval boottime;


More information about the webkit-reviews mailing list