[EFL] Change condition checking logic related with both change of position and...

[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 <hyuki.kim@samsung.com> on 2011-08-19
Reviewed by Adam Roben.

* ewk/ewk_tiled_backing_store.c:
(_ewk_tiled_backing_store_smart_calculate):

git-svn-id: svn://svn.chromium.org/blink/trunk@93409 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c59d63a3
2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
[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 <g.czajkowski@samsung.com> 2011-08-19 Grzegorz Czajkowski <g.czajkowski@samsung.com>
[EFL] Fix and update doxygen documentation for ewk_view. [EFL] Fix and update doxygen documentation for ewk_view.
......
...@@ -1329,7 +1329,8 @@ static void _ewk_tiled_backing_store_smart_calculate(Evas_Object *o) ...@@ -1329,7 +1329,8 @@ static void _ewk_tiled_backing_store_smart_calculate(Evas_Object *o)
if (priv->changed.pos && (priv->view.x != x || priv->view.y != y)) { if (priv->changed.pos && (priv->view.x != x || priv->view.y != y)) {
_ewk_tiled_backing_store_smart_calculate_pos(priv, x, y); _ewk_tiled_backing_store_smart_calculate_pos(priv, x, y);
priv->changed.pos = EINA_FALSE; priv->changed.pos = EINA_FALSE;
} else if (priv->changed.offset) { }
if (priv->changed.offset) {
_ewk_tiled_backing_store_smart_calculate_offset(priv, x, y); _ewk_tiled_backing_store_smart_calculate_offset(priv, x, y);
priv->changed.offset = EINA_FALSE; priv->changed.offset = EINA_FALSE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment