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

Unified Diff: Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp

Issue 12320020: Merge 142755 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months 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
Index: Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
===================================================================
--- Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (revision 143514)
+++ Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (working copy)
@@ -142,7 +142,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());
}
}
« no previous file with comments | « Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp ('k') | Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698