Changeset 80298 in webkit
- Timestamp:
- Mar 3, 2011 4:49:21 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80297 r80298 1 2011-03-03 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Martin Robinson. 4 5 Stop instantiating legacy editing positions in FocusController::advanceFocusInDocumentOrder 6 https://bugs.webkit.org/show_bug.cgi?id=52742 7 8 Use firstPositionInOrBeforeNode to instantiate appropriate position. 9 10 * page/FocusController.cpp: 11 (WebCore::FocusController::advanceFocusInDocumentOrder): 12 1 13 2011-03-03 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WebCore/page/FocusController.cpp
r79196 r80298 56 56 #include "SpatialNavigation.h" 57 57 #include "Widget.h" 58 #include "htmlediting.h" // For firstPositionInOrBeforeNode 58 59 59 60 namespace WebCore { … … 288 289 289 290 if (caretBrowsing) { 290 VisibleSelection newSelection(Position(node, 0), Position(node, 0), DOWNSTREAM); 291 Position position = firstPositionInOrBeforeNode(node); 292 VisibleSelection newSelection(position, position, DOWNSTREAM); 291 293 if (frame->selection()->shouldChangeSelection(newSelection)) 292 294 frame->selection()->setSelection(newSelection);
Note: See TracChangeset
for help on using the changeset viewer.