Changeset 86104 in webkit
- Timestamp:
- May 9, 2011 4:37:03 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86102 r86104 1 2011-05-09 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION(r86039): DragCaretController doesn't draw caret 6 https://bugs.webkit.org/show_bug.cgi?id=60505 7 8 Removed an early exit in setCaretPosition introduced by r86039. 9 Also replaced calls to containerNode by deprecatedNode since rendering code doesn't 10 support container node for rendering caret. 11 12 * editing/FrameSelection.cpp: 13 (WebCore::DragCaretController::setCaretPosition): 14 1 15 2011-04-29 Martin Robinson <mrobinson@igalia.com> 2 16 -
trunk/Source/WebCore/editing/FrameSelection.cpp
r86041 r86104 144 144 void DragCaretController::setCaretPosition(const VisiblePosition& position) 145 145 { 146 if (m_position == position) 147 return; 148 149 if (Node* node = m_position.deepEquivalent().containerNode()) 146 if (Node* node = m_position.deepEquivalent().deprecatedNode()) 150 147 invalidateCaretRect(node); 151 148 m_position = position; 152 149 m_caretRectNeedsUpdate = true; 153 150 Document* document = 0; 154 if (Node* node = m_position.deepEquivalent(). containerNode()) {151 if (Node* node = m_position.deepEquivalent().deprecatedNode()) { 155 152 invalidateCaretRect(node); 156 153 document = node->document();
Note: See TracChangeset
for help on using the changeset viewer.