[webkit-reviews] review canceled: [Bug 55603] [GTK] Implement the next bit of the TextInputController (hasMarkedText and markedRange) : [Attachment 84590] Patch which better conforms to the policy stated above

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 4 09:09:25 PST 2011


Martin Robinson <mrobinson at webkit.org> has canceled Martin Robinson
<mrobinson at webkit.org>'s request for review:
Bug 55603: [GTK] Implement the next bit of the TextInputController
(hasMarkedText and markedRange)
https://bugs.webkit.org/show_bug.cgi?id=55603

Attachment 84590: Patch which better conforms to the policy stated above
https://bugs.webkit.org/attachment.cgi?id=84590&action=review

------- Additional Comments from Martin Robinson <mrobinson at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=84590&action=review

>>>> Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp:527
>>>> +
>>> 
>>> You should move the line *start = *length = 0; after the
g_return_val_if_fail(start && length, false);
>> 
>> I feel that the method should return conssitent values when it fails. Is
there a particular reason it's better to move it down? Externally the user of
the method couldn't know if it returned false because of a bad argument or one
of the following runtime situations.
> 
> The macro checks that valid pointers have been passed, so you shouldn't use
the pointers before it.

Ah! Quite right. I'll reorder the statement and upload a new patch.


More information about the webkit-reviews mailing list