WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66980
Remove use of magic number -1 in WebCore/editing/visible_units.cpp
https://bugs.webkit.org/show_bug.cgi?id=66980
Summary
Remove use of magic number -1 in WebCore/editing/visible_units.cpp
Van Lam
Reported
2011-08-25 14:28:22 PDT
Currently two functions greatestOffsetUnder and smallestOffsetAbove return -1 to indicate that the correct word boundary to move to is not found. Should be using a constant to make this more clear.
Attachments
Patch
(2.83 KB, patch)
2011-08-25 14:31 PDT
,
Van Lam
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Van Lam
Comment 1
2011-08-25 14:31:55 PDT
Created
attachment 105243
[details]
Patch
WebKit Review Bot
Comment 2
2011-08-25 16:19:39 PDT
Comment on
attachment 105243
[details]
Patch Clearing flags on attachment: 105243 Committed
r93834
: <
http://trac.webkit.org/changeset/93834
>
WebKit Review Bot
Comment 3
2011-08-25 16:19:43 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug