[Webkit-unassigned] [Bug 42653] IntSize / FloatSize: add invalid() and isValid() helper methods
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 20 11:48:11 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42653
--- Comment #4 from Antonio Gomes <tonikitoo at webkit.org> 2010-07-20 11:48:10 PST ---
Other possible users of isValid() and maybe IntSize::invalid()
static void constructDeletedValue(IntSize& slot)
{
new (&slot) IntSize(-1, -1);
}
static bool isDeletedValue(const IntSize& value)
{
return value.width() == -1 && value.height() == -1;
}
--
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