[Webkit-unassigned] [Bug 66681] Need API for getting surrounding text from webkit in chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 2 14:03:51 PDT 2011


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





--- Comment #52 from Peng Huang <penghuang at chromium.org>  2011-09-02 14:03:51 PST ---
(In reply to comment #51)
> (From update of attachment 106189 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=106189&action=review
> 
> > Source/WebKit/chromium/src/WebViewImpl.cpp:1518
> > +    Element* element = selection->rootEditableElement();
> 
> I think selection could be null here.

Checked the code. It returns &m_selection; So it should not be null.

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