Index: Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp |
=================================================================== |
--- Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (revision 143514) |
+++ Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (working copy) |
@@ -128,7 +128,7 @@ |
void ChromeClientEfl::setWindowRect(const FloatRect& rect) |
{ |
- if (!ewk_view_setting_enable_auto_resize_window_get(m_view)) |
+ if (!ewk_view_setting_enable_auto_resize_window_get(m_view) || rect.isEmpty()) |
return; |
Ecore_Evas* ee = ecore_evas_ecore_evas_get(evas_object_evas_get(m_view)); |