-
justing authored
Reviewed by harrison <rdar://problem/4774354> REGRESSION: In Gmail, caret reappears when dragging a selection over some text in the message body * fast/repaint/4774354-expected.checksum: Added. * fast/repaint/4774354-expected.png: Added. * fast/repaint/4774354-expected.txt: Added. * fast/repaint/4774354.html: Added. * fast/repaint/resources/contenteditable-iframe-src.html: Added. WebCore: Reviewed by harrison <rdar://problem/4774354> REGRESSION: In Gmail, caret reappears when dragging a selection over some text in the message body Functions call recomputCaretRect to see if the caret rect has changed, and, if it has, they invalidate (repaint) it. recomputeCaretRect was returning false if the caret turned into a range selection or was blown away. * editing/SelectionController.cpp: (WebCore::SelectionController::recomputeCaretRect): Don't early return if !isCaret(). Obtain the FrameView* using the m_frame pointer, because m_sel may now be null. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
24714dfa