| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index 76d4b0beec8e11c5bccccaa769bebd331ab89ab3..77db98e1c2d026e020536e6ca69c9a0af30037a4 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -669,20 +669,6 @@ bool WebFrameWidgetImpl::IsSelectionAnchorFirst() const {
|
| return false;
|
| }
|
|
|
| -// TODO(ekaramad):This method is almost duplicated in WebViewImpl as well. This
|
| -// code needs to be refactored (http://crbug.com/629721).
|
| -WebRange WebFrameWidgetImpl::CaretOrSelectionRange() {
|
| - LocalFrame* focused = FocusedLocalFrameInWidget();
|
| - if (!focused)
|
| - return WebRange();
|
| -
|
| - // TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - focused->GetDocument()->UpdateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - return focused->GetInputMethodController().GetSelectionOffsets();
|
| -}
|
| -
|
| void WebFrameWidgetImpl::SetTextDirection(WebTextDirection direction) {
|
| // The Editor::setBaseWritingDirection() function checks if we can change
|
| // the text direction of the selected node and updates its DOM "dir"
|
|
|