summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/render_view_host.cc')
-rw-r--r--content/browser/renderer_host/render_view_host.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 98bcbf8..da09850 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1080,9 +1080,10 @@ void RenderViewHost::OnMsgSetTooltipText(
view()->SetTooltipText(UTF16ToWide(wrapped_tooltip_text));
}
-void RenderViewHost::OnMsgSelectionChanged(const std::string& text) {
+void RenderViewHost::OnMsgSelectionChanged(const std::string& text,
+ const ui::Range& range) {
if (view())
- view()->SelectionChanged(text);
+ view()->SelectionChanged(text, range);
}
void RenderViewHost::OnMsgRunJavaScriptMessage(