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 6a5ae67d63ad9cf36e1ec62914937b6fcaa3acf6..403838d91887c459cf5e7ddc1a1b419149901856 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -2841,10 +2841,10 @@ bool WebViewImpl::getCompositionCharacterBounds(WebVector<WebRect>& bounds) |
return true; |
} |
-void WebViewImpl::applyReplacementRange(int start, int length) |
+void WebViewImpl::applyReplacementRange(const WebRange& range) |
{ |
if (WebLocalFrame* frame = focusedFrame()) |
- frame->selectRange(WebRange(start, length)); |
+ frame->selectRange(range); |
} |
// WebView -------------------------------------------------------------------- |