| 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 8ccf5f47142bdafaaac683e1bb644a67215a43a6..61efe529be8cfe0375c55bdc89c8f6916d102a86 100644
|
| --- a/webkit/plugins/npapi/gtk_plugin_container_manager.cc
|
| +++ b/webkit/plugins/npapi/gtk_plugin_container_manager.cc
|
| @@ -85,7 +85,8 @@ void GtkPluginContainerManager::MovePluginContainer(
|
| GdkRectangle clip_rect = move.clip_rect.ToGdkRectangle();
|
| GdkRegion* clip_region = gdk_region_rectangle(&clip_rect);
|
| gfx::SubtractRectanglesFromRegion(clip_region, move.cutout_rects);
|
| - gdk_window_shape_combine_region(widget->window, clip_region, 0, 0);
|
| + gdk_window_shape_combine_region(gtk_widget_get_window(widget),
|
| + clip_region, 0, 0);
|
| gdk_region_destroy(clip_region);
|
| }
|
|
|
|
|