[Webkit-unassigned] [Bug 44815] crash: 0x101dad3ae in WebCore::RenderBox::positionForPoint at RenderBox.cpp:2817

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 31 11:51:10 PDT 2010


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





--- Comment #6 from Eric Seidel <eric at webkit.org>  2010-08-31 11:51:10 PST ---
(In reply to comment #5)
> Is it possible to have something like
> 
> inline Position firstDeepEditingPositionForNode(Node* anchorNode)
> {
>     if (anchorNode)
>         return Position(anchorNode, 0);
>     else
>         return Position();
> }
> 
> I've tried this and it runs on the example in question, but I don't know what else it might cause problems with.

That's wrong.  If callers want this, they should check for !node themselves.

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