Title: [93409] trunk/Source/WebKit/efl
Revision
93409
Author
[email protected]
Date
2011-08-19 08:19:33 -0700 (Fri, 19 Aug 2011)

Log Message

[EFL] Change condition checking logic related with both change of position and offset for backing store.
https://bugs.webkit.org/show_bug.cgi?id=66028

As backing store's position and offset change can occur at the same time,
the checking of offset change shouldn't be "else if" statement.

Patch by KwangHyuk Kim <[email protected]> on 2011-08-19
Reviewed by Adam Roben.

* ewk/ewk_tiled_backing_store.c:
(_ewk_tiled_backing_store_smart_calculate):

Modified Paths

Diff

Modified: trunk/Source/WebKit/efl/ChangeLog (93408 => 93409)


--- trunk/Source/WebKit/efl/ChangeLog	2011-08-19 15:11:35 UTC (rev 93408)
+++ trunk/Source/WebKit/efl/ChangeLog	2011-08-19 15:19:33 UTC (rev 93409)
@@ -1,3 +1,16 @@
+2011-08-19  KwangHyuk Kim  <[email protected]>
+
+        [EFL] Change condition checking logic related with both change of position and offset for backing store.
+        https://bugs.webkit.org/show_bug.cgi?id=66028
+
+        As backing store's position and offset change can occur at the same time,
+        the checking of offset change shouldn't be "else if" statement.
+
+        Reviewed by Adam Roben.
+
+        * ewk/ewk_tiled_backing_store.c:
+        (_ewk_tiled_backing_store_smart_calculate):
+
 2011-08-19  Grzegorz Czajkowski  <[email protected]>
 
         [EFL] Fix and update doxygen documentation for ewk_view.

Modified: trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c (93408 => 93409)


--- trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c	2011-08-19 15:11:35 UTC (rev 93408)
+++ trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c	2011-08-19 15:19:33 UTC (rev 93409)
@@ -1329,7 +1329,8 @@
     if (priv->changed.pos && (priv->view.x != x || priv->view.y != y)) {
         _ewk_tiled_backing_store_smart_calculate_pos(priv, x, y);
         priv->changed.pos = EINA_FALSE;
-    } else if (priv->changed.offset) {
+    }
+    if (priv->changed.offset) {
         _ewk_tiled_backing_store_smart_calculate_offset(priv, x, y);
         priv->changed.offset = EINA_FALSE;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to