summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorcraig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 04:53:32 +0000
committercraig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 04:53:32 +0000
commite44060d11555020763fc7978b963707d6aa7833d (patch)
treea07d7536151857da533c6faa7600ff70aaf7008d /webkit
parent152494e06591140bbf5003bba82cafa6f34962ec (diff)
downloadchromium_src-e44060d11555020763fc7978b963707d6aa7833d.zip
chromium_src-e44060d11555020763fc7978b963707d6aa7833d.tar.gz
chromium_src-e44060d11555020763fc7978b963707d6aa7833d.tar.bz2
GtkPluginContainerManager::UnrealizeCallback should be void.
Review URL: http://codereview.chromium.org/149347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/plugins/gtk_plugin_container_manager.cc4
-rw-r--r--webkit/glue/plugins/gtk_plugin_container_manager.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/gtk_plugin_container_manager.cc b/webkit/glue/plugins/gtk_plugin_container_manager.cc
index e251cca..266687b 100644
--- a/webkit/glue/plugins/gtk_plugin_container_manager.cc
+++ b/webkit/glue/plugins/gtk_plugin_container_manager.cc
@@ -128,8 +128,8 @@ GtkWidget* GtkPluginContainerManager::MapIDToWidget(gfx::PluginWindowHandle id)
return NULL;
}
-gboolean GtkPluginContainerManager::UnrealizeCallback(GtkWidget* widget,
- void* user_data) {
+void GtkPluginContainerManager::UnrealizeCallback(GtkWidget* widget,
+ void* user_data) {
// This is the last chance to get the XID for the widget. Remove it from the
// map here.
GtkPluginContainerManager* plugin_container_manager =
diff --git a/webkit/glue/plugins/gtk_plugin_container_manager.h b/webkit/glue/plugins/gtk_plugin_container_manager.h
index fa1156a..f38baee 100644
--- a/webkit/glue/plugins/gtk_plugin_container_manager.h
+++ b/webkit/glue/plugins/gtk_plugin_container_manager.h
@@ -36,7 +36,7 @@ class GtkPluginContainerManager {
// Callback for when the plugin container loses its XID, so that it can be
// removed from plugin_window_to_widget_map_.
- static gboolean UnrealizeCallback(GtkWidget *widget, void *user_data);
+ static void UnrealizeCallback(GtkWidget *widget, void *user_data);
// Parent of the plugin containers.
GtkWidget* host_widget_;