[Webkit-unassigned] [Bug 142719] AX: richer text change notifications
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 23 19:26:30 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=142719
--- Comment #104 from Doug Russell <d_russell at apple.com> ---
> > Source/WebCore/editing/ReplaceInsertIntoTextNodeCommand.h:37
> > + static Ref<ReplaceInsertIntoTextNodeCommand> create(PassRefPtr<Text> node, unsigned offset, const String& text, const String& deletedText, EditAction editingAction)
>
> New code should not use PassRefPtr. See
> <https://www.webkit.org/coding/RefPtr.html>.
>
> > Source/WebCore/editing/ReplaceInsertIntoTextNodeCommand.h:43
> > + ReplaceInsertIntoTextNodeCommand(PassRefPtr<Text>, unsigned, const String&, const String&, EditAction);
>
> New code should not use PassRefPtr. See
> <https://www.webkit.org/coding/RefPtr.html>.
Switching these methods to RefPtr results in style errors:
ERROR: Source/WebCore/editing/ReplaceDeleteFromTextNodeCommand.cpp:33: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5]
What's the appropriate type here?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150424/7e177fd6/attachment.html>
More information about the webkit-unassigned
mailing list