[Webkit-unassigned] [Bug 65723] A few purely stylistic modifications to visible_units.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 5 10:56:27 PDT 2011


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





--- Comment #8 from Darin Adler <darin at apple.com>  2011-08-05 10:56:27 PST ---
(From update of attachment 102992)
View in context: https://bugs.webkit.org/attachment.cgi?id=102992&action=review

> Source/WebCore/editing/visible_units.cpp:1450
> -        return invalidOffset;
> +        return -1;

Replacing a name constant with a magic value of -1 does not seem like a style improvement to me.

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