| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 9d68a6777ef6392c804aad67173f0ca12cef93b4..d9d75acb3fd66da5112095228f277524d1a3b737 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2481,20 +2481,6 @@ WebPagePopupImpl* WebViewImpl::GetPagePopup() const {
|
|
|
| // TODO(ekaramad):This method is almost duplicated in WebFrameWidgetImpl as
|
| // well. This code needs to be refactored (http://crbug.com/629721).
|
| -WebRange WebViewImpl::CaretOrSelectionRange() {
|
| - const 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();
|
| -}
|
| -
|
| -// TODO(ekaramad):This method is almost duplicated in WebFrameWidgetImpl as
|
| -// well. This code needs to be refactored (http://crbug.com/629721).
|
| void WebViewImpl::SetTextDirection(WebTextDirection direction) {
|
| // The Editor::setBaseWritingDirection() function checks if we can change
|
| // the text direction of the selected node and updates its DOM "dir"
|
|
|