Title: [131653] trunk/Source/WebKit2
Revision
131653
Author
[email protected]
Date
2012-10-17 15:08:21 -0700 (Wed, 17 Oct 2012)

Log Message

[EFL][WK2] Compilation warning in Ewk_View when accelerated compositing is disabled
https://bugs.webkit.org/show_bug.cgi?id=99613

Patch by Christophe Dumez <[email protected]> on 2012-10-17
Reviewed by Kenneth Rohde Christiansen.

Fix compilation warning in _ewk_view_smart_calculate() when
the ACCELERATED_COMPOSITING flag is not set.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (131652 => 131653)


--- trunk/Source/WebKit2/ChangeLog	2012-10-17 22:08:20 UTC (rev 131652)
+++ trunk/Source/WebKit2/ChangeLog	2012-10-17 22:08:21 UTC (rev 131653)
@@ -1,5 +1,18 @@
 2012-10-17  Christophe Dumez  <[email protected]>
 
+        [EFL][WK2] Compilation warning in Ewk_View when accelerated compositing is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=99613
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Fix compilation warning in _ewk_view_smart_calculate() when
+        the ACCELERATED_COMPOSITING flag is not set.
+
+        * UIProcess/API/efl/ewk_view.cpp:
+        (_ewk_view_smart_calculate):
+
+2012-10-17  Christophe Dumez  <[email protected]>
+
         [EFL][WK2] Use smart pointers inside Ewk_View
         https://bugs.webkit.org/show_bug.cgi?id=99611
 

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


--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-10-17 22:08:20 UTC (rev 131652)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-10-17 22:08:21 UTC (rev 131653)
@@ -655,11 +655,14 @@
 {
     EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData);
     EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv);
-    Evas_Coord x, y, width, height;
+
+#if USE(ACCELERATED_COMPOSITING)
     bool needsNewSurface = false;
+#endif
 
     smartData->changed.any = false;
 
+    Evas_Coord x, y, width, height;
     evas_object_geometry_get(ewkView, &x, &y, &width, &height);
 
     if (smartData->changed.size) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to