Index: chrome/browser/renderer_host/render_widget_host_view_gtk.cc |
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc |
index 9a5a340ad03ff49d32d4d8688f810d7b9b8987b7..d4c9781af0c1c63de91f874e09f2685112b5ff7f 100644 |
--- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc |
+++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc |
@@ -830,7 +830,8 @@ void RenderWidgetHostViewGtk::SetTooltipText(const std::wstring& tooltip_text) { |
} |
} |
-void RenderWidgetHostViewGtk::SelectionChanged(const std::string& text) { |
+void RenderWidgetHostViewGtk::SelectionChanged(const std::string& text, |
+ const ui::Range& range) { |
if (!text.empty()) { |
GtkClipboard* x_clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY); |
gtk_clipboard_set_text(x_clipboard, text.c_str(), text.length()); |