[Webkit-unassigned] [Bug 99438] [WK2][WTR] Text input controller needs selectedRange implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 12 01:48:34 PST 2012


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





--- Comment #20 from Ryosuke Niwa <rniwa at webkit.org>  2012-12-12 01:50:55 PST ---
(From update of attachment 178994)
View in context: https://bugs.webkit.org/attachment.cgi?id=178994&action=review

> Source/WebKit2/UIProcess/API/mac/WKView.mm:1431
>      NSRange result = NSMakeRange(selectionStart, selectionLength);
> -    if (result.location == NSNotFound)
> -        LOG(TextInput, "selectedRange -> (NSNotFound, %u)", result.length);
> +    if (result.location == WTF::notFound)
> +        LOG(TextInput, "selectedRange -> (notFound, %u)", result.length);

Don't we need to pass in NSNotFound to NSMakeRange?

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