diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 21:40:47 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 21:40:47 +0000 |
commit | b0c2560d069ec53e2cc5acff9c211a4e166afe3c (patch) | |
tree | 5ff6a24fb746d43b236d49af4da8ac8f56275620 /chrome | |
parent | 4c70a1e7a980ff1f72da95d436802e46a1e9cc37 (diff) | |
download | chromium_src-b0c2560d069ec53e2cc5acff9c211a4e166afe3c.zip chromium_src-b0c2560d069ec53e2cc5acff9c211a4e166afe3c.tar.gz chromium_src-b0c2560d069ec53e2cc5acff9c211a4e166afe3c.tar.bz2 |
Remove dead code in RWHV Gtk.
The code was introduced in r13044 and should have been removed in r13396 (when the majority of r13044 was undone).
BUG=16195
TEST=selection clipboard still works in render view, memory leak is gone
Review URL: http://codereview.chromium.org/149358
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_gtk.cc | 10 |
1 files changed, 0 insertions, 10 deletions
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 590d328..6a45494 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -83,16 +83,6 @@ class RenderWidgetHostViewGtkWidget { g_signal_connect(host_view->im_context_, "commit", G_CALLBACK(InputMethodCommit), host_view); - GtkTargetList* target_list = gtk_target_list_new(NULL, 0); - gtk_target_list_add_text_targets(target_list, 0); - gint num_targets = 0; - GtkTargetEntry* targets = gtk_target_table_new_from_list(target_list, - &num_targets); - gtk_selection_clear_targets(widget, GDK_SELECTION_PRIMARY); - gtk_selection_add_targets(widget, GDK_SELECTION_PRIMARY, targets, - num_targets); - gtk_target_list_unref(target_list); - gtk_target_table_free(targets, num_targets); return widget; } |