Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2674253004: [refactor] Remove WebWidget::applyReplacementRange (Closed)
Patch Set: more refactoring Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 19a2df0f5202b81cd8bbd87c047e4abb23069f1b..945f83a16b83e78aba15573abfc5ffdfca645ce1 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2571,13 +2571,6 @@ bool WebViewImpl::getCompositionCharacterBounds(WebVector<WebRect>& bounds) {
return true;
}
-// TODO(ekaramad):This method is almost duplicated in WebFrameWidgetImpl as
-// well. This code needs to be refactored (http://crbug.com/629721).
-void WebViewImpl::applyReplacementRange(const WebRange& range) {
- if (WebLocalFrame* frame = focusedFrame())
- frame->selectRange(range);
-}
-
// WebView --------------------------------------------------------------------
WebSettingsImpl* WebViewImpl::settingsImpl() {

Powered by Google App Engine
This is Rietveld 408576698