Title: [122134] trunk/Source/WebCore
Revision
122134
Author
[email protected]
Date
2012-07-09 12:25:16 -0700 (Mon, 09 Jul 2012)

Log Message

[EFL] [WK2] Ecore errors from ecore_evas_screen_geometry_get()
https://bugs.webkit.org/show_bug.cgi?id=90609

Patch by Sudarsana Nagineni <[email protected]> on 2012-07-09
Reviewed by Daniel Bates.

Do not call ecore_evas_screen_geometry_get() if ecoreEvas is null.

No new tests. This patch doesn't change behavior.

* platform/efl/PlatformScreenEfl.cpp:
(WebCore::screenRect): Early return if Evas is null.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (122133 => 122134)


--- trunk/Source/WebCore/ChangeLog	2012-07-09 19:19:15 UTC (rev 122133)
+++ trunk/Source/WebCore/ChangeLog	2012-07-09 19:25:16 UTC (rev 122134)
@@ -1,3 +1,17 @@
+2012-07-09  Sudarsana Nagineni  <[email protected]>
+
+        [EFL] [WK2] Ecore errors from ecore_evas_screen_geometry_get()
+        https://bugs.webkit.org/show_bug.cgi?id=90609
+
+        Reviewed by Daniel Bates.
+
+        Do not call ecore_evas_screen_geometry_get() if ecoreEvas is null.
+
+        No new tests. This patch doesn't change behavior.
+
+        * platform/efl/PlatformScreenEfl.cpp:
+        (WebCore::screenRect): Early return if Evas is null.
+
 2012-07-09  Alexandru Chiculita  <[email protected]>
 
         [CSS Filters] Blur filter is not repainted correctly when applied on a parent of a fixed element

Modified: trunk/Source/WebCore/platform/efl/PlatformScreenEfl.cpp (122133 => 122134)


--- trunk/Source/WebCore/platform/efl/PlatformScreenEfl.cpp	2012-07-09 19:19:15 UTC (rev 122133)
+++ trunk/Source/WebCore/platform/efl/PlatformScreenEfl.cpp	2012-07-09 19:25:16 UTC (rev 122134)
@@ -86,6 +86,8 @@
 
     int x, y, w, h;
     Evas* e = widget->evas();
+    if (!e)
+        return FloatRect();
 
     ecore_evas_screen_geometry_get(ecore_evas_ecore_evas_get(e), &x, &y, &w, &h);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to