Changeset 96291 in webkit


Ignore:
Timestamp:
Sep 28, 2011 7:52:11 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal.
https://bugs.webkit.org/show_bug.cgi?id=68594

As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal
isn't effective at all, this patch just removes it.

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2011-09-28
Reviewed by Ryosuke Niwa.

  • ewk/ewk_tiled_backing_store.c:

(_ewk_tiled_backing_store_zoom_set_internal):

Location:
trunk/Source/WebKit/efl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/efl/ChangeLog

    r96217 r96291  
     12011-09-28  KwangHyuk Kim  <hyuki.kim@samsung.com>
     2
     3        [EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal.
     4        https://bugs.webkit.org/show_bug.cgi?id=68594
     5
     6        As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal
     7        isn't effective at all, this patch just removes it.
     8
     9        Reviewed by Ryosuke Niwa.
     10
     11        * ewk/ewk_tiled_backing_store.c:
     12        (_ewk_tiled_backing_store_zoom_set_internal):
     13
    1142011-09-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    215
  • trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c

    r94378 r96291  
    15011501    Evas_Coord new_x = cx + (priv->view.offset.cur.x - cx) * scale;
    15021502    Evas_Coord new_y = cy + (priv->view.offset.cur.y - cy) * scale;
    1503     Evas_Coord bx = cx + (priv->view.offset.base.x - cx) * scale;
    1504     Evas_Coord by = cy + (priv->view.offset.base.y - cy) * scale;
    15051503
    15061504    Evas_Coord model_width = priv->model.width * scale;
     
    15171515        new_y = -model_height + priv->view.h;
    15181516
    1519     bx = new_x % tw;
    1520     priv->model.base.col = - new_x / tw;
    1521     by = new_y % th;
    1522     priv->model.base.row = - new_y / th;
     1517    Evas_Coord bx = new_x % tw;
     1518    Evas_Coord by = new_y % th;
     1519    priv->model.base.col = -new_x / tw;
     1520    priv->model.base.row = -new_y / th;
    15231521
    15241522    priv->changed.size = EINA_TRUE;
Note: See TracChangeset for help on using the changeset viewer.