Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Unified Diff: webkit/plugins/npapi/gtk_plugin_container_manager.cc

Issue 8897006: GTK: Remove deprecated methods and replace them with the new standard calls. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Oh, that's what the conflict was. Remove double gtk/gtk.h Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gtk_preserve_window.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/gtk_plugin_container_manager.cc
diff --git a/webkit/plugins/npapi/gtk_plugin_container_manager.cc b/webkit/plugins/npapi/gtk_plugin_container_manager.cc
index 79897e2768aadc044c1820be5ce0a81c1baf25f6..8ccf5f47142bdafaaac683e1bb644a67215a43a6 100644
--- a/webkit/plugins/npapi/gtk_plugin_container_manager.cc
+++ b/webkit/plugins/npapi/gtk_plugin_container_manager.cc
@@ -66,7 +66,7 @@ void GtkPluginContainerManager::MovePluginContainer(
if (!widget)
return;
- DCHECK(!GTK_WIDGET_NO_WINDOW(widget));
+ DCHECK(gtk_widget_get_has_window(widget));
if (!move.visible) {
gtk_widget_hide(widget);
« no previous file with comments | « ui/gfx/gtk_preserve_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698