| Index: content/browser/tab_contents/web_drag_source_gtk.cc
|
| diff --git a/content/browser/tab_contents/web_drag_source_gtk.cc b/content/browser/tab_contents/web_drag_source_gtk.cc
|
| index 7c01fa4f037fcd87d2dfcad8b0df1d6367a3da05..7ef64dc41df85138de6d375b5cb62d1a6ef7e86b 100644
|
| --- a/content/browser/tab_contents/web_drag_source_gtk.cc
|
| +++ b/content/browser/tab_contents/web_drag_source_gtk.cc
|
| @@ -21,6 +21,7 @@
|
| #include "net/base/file_stream.h"
|
| #include "net/base/net_util.h"
|
| #include "ui/base/dragdrop/gtk_dnd_util.h"
|
| +#include "ui/base/gtk/gtk_compat.h"
|
| #include "ui/base/gtk/gtk_screen_utils.h"
|
| #include "ui/gfx/gtk_util.h"
|
| #include "webkit/glue/webdropdata.h"
|
| @@ -321,7 +322,7 @@ void WebDragSourceGtk::OnDragBegin(GtkWidget* sender,
|
| gdk_pixbuf_get_height(drag_pixbuf_));
|
|
|
| // We only need to do this once.
|
| - if (!GTK_WIDGET_REALIZED(drag_icon_)) {
|
| + if (!gtk_widget_get_realized(drag_icon_)) {
|
| GdkScreen* screen = gtk_widget_get_screen(drag_icon_);
|
| GdkColormap* rgba = gdk_screen_get_rgba_colormap(screen);
|
| if (rgba)
|
|
|