Title: [133760] trunk/Source/WebKit2
Revision
133760
Author
commit-qu...@webkit.org
Date
2012-11-07 07:16:38 -0800 (Wed, 07 Nov 2012)

Log Message

[EFL][WK2][AC] Avoid creating an empty surface
https://bugs.webkit.org/show_bug.cgi?id=101464

Patch by Yael Aharon <yael.aha...@intel.com> on 2012-11-07
Reviewed by Kenneth Rohde Christiansen.

Make sure we have a valid view size before creating a GL surface.

* UIProcess/API/efl/ewk_view.cpp:
(_ewk_view_smart_calculate):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (133759 => 133760)


--- trunk/Source/WebKit2/ChangeLog	2012-11-07 15:13:01 UTC (rev 133759)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-07 15:16:38 UTC (rev 133760)
@@ -1,3 +1,15 @@
+2012-11-07  Yael Aharon  <yael.aha...@intel.com>
+
+        [EFL][WK2][AC] Avoid creating an empty surface
+        https://bugs.webkit.org/show_bug.cgi?id=101464
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Make sure we have a valid view size before creating a GL surface.
+
+        * UIProcess/API/efl/ewk_view.cpp:
+        (_ewk_view_smart_calculate):
+
 2012-11-07  Christophe Dumez  <christophe.du...@intel.com>
 
         [WK2][UNIX] Crash in WebKit::PluginProcessProxy::scanPlugin()

Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp (133759 => 133760)


--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-11-07 15:13:01 UTC (rev 133759)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-11-07 15:16:38 UTC (rev 133760)
@@ -390,7 +390,8 @@
         if (impl->evasGLSurface())
             impl->clearEvasGLSurface();
 
-        impl->createGLSurface(IntSize(width, height));
+        if (width && height)
+            impl->createGLSurface(IntSize(width, height));
 #endif
 #if USE(TILED_BACKING_STORE)
         impl->pageClient()->updateViewportSize(IntSize(width, height));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to