| Index: Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
|
| ===================================================================
|
| --- Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (revision 143745)
|
| +++ Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (working copy)
|
| @@ -138,7 +138,8 @@
|
| GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView));
|
| if (widgetIsOnscreenToplevelWindow(window)) {
|
| gtk_window_move(GTK_WINDOW(window), intrect.x(), intrect.y());
|
| - gtk_window_resize(GTK_WINDOW(window), intrect.width(), intrect.height());
|
| + if (!intrect.isEmpty())
|
| + gtk_window_resize(GTK_WINDOW(window), intrect.width(), intrect.height());
|
| }
|
| }
|
|
|
|
|