[Webkit-unassigned] [Bug 72294] Add contains() test to Region

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 16 10:45:12 PST 2011


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





--- Comment #29 from Darin Adler <darin at apple.com>  2011-11-16 10:45:12 PST ---
(From update of attachment 115406)
View in context: https://bugs.webkit.org/attachment.cgi?id=115406&action=review

> Source/WebCore/platform/graphics/Region.h:51
> +    bool contains(const Region&) const { return WebCore::intersect(region, *this).m_shape == region.m_shape; }

This won’t compile because the argument name, region, was omitted.

> Source/WebCore/platform/graphics/Region.h:114
> +        friend bool operator!=(const Shape&, const Shape&);

I don’t think != needs to be a friend.

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