-
rniwa@webkit.org authored
Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 Done the rename. All calls to node() are replaced by calls to deprecatedNode(). * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setComposition): Check the nullity of startContainer() instead of startPosition()->node(). (WebKit::WebViewImpl::confirmComposition): Ditto. (WebKit::WebViewImpl::textInputType): (WebKit::WebViewImpl::caretOrSelectionBounds): 2011-02-17 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 Replaced the call to node() by a call to containerNode() because the returned node is used to determine whether or not the selected contents are editable and such a check must be done against the container node. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleKeyboardEvent): 2011-02-17 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 Done the rename. All calls to node() are replaced by calls to deprecatedNode(). * webkit/webkitwebview.cpp: (webkit_web_view_popup_menu_handler): 2011-02-17 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 * WebView/WebFrame.mm: (-[WebFrame _smartDeleteRangeForProposedRange:]): 2011-02-17 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 Replaced the call to node() by a call to containerNode() because the returned node is used to determine whether or not the selected contents are editable and such a check must be done against the container node. * WebCoreSupport/EditorClientHaiku.cpp: (WebCore::EditorClientHaiku::handleKeyboardEvent): 2011-02-17 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Kent Tamura. Rename Position::node() to Position::deprecatedNode() https://bugs.webkit.org/show_bug.cgi?id=54622 Done the rename. All calls to node() are replaced by calls to deprecatedNode() except when calls were of the form node()->document() and node()->inDocument() in which case they were replaced by anchorNode()->document() and anchorNode()->inDocument() respectively. * WebCore.exp.in: Added Position::containerNode. The rest abbreviated for simplicity. Please see svn log. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
62b16970