[Webkit-unassigned] [Bug 158169] Use COMPILER(MSVC) instead of PLATFORM(WIN) for MSVC-specific workaround

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 27 16:02:31 PDT 2016


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

--- Comment #2 from Darin Adler <darin at apple.com> ---
Comment on attachment 279999
  --> https://bugs.webkit.org/attachment.cgi?id=279999
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=279999&action=review

> Source/WebCore/platform/PlatformMouseEvent.h:152
> +    bool operator==(unsigned short a, MouseButton b)
> +    {
> +        return a == static_cast<unsigned short>(b);
> +    }
> +
> +    bool operator!=(unsigned short a, MouseButton b)
> +    {
> +        return a != static_cast<unsigned short>(b);
> +    }

These will need to be marked inline or we can get linker errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160527/c87ea6b0/attachment.html>


More information about the webkit-unassigned mailing list