Title: [96291] trunk/Source/WebKit/efl
- Revision
- 96291
- Author
- [email protected]
- Date
- 2011-09-28 19:52:11 -0700 (Wed, 28 Sep 2011)
Log 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 <[email protected]> on 2011-09-28
Reviewed by Ryosuke Niwa.
* ewk/ewk_tiled_backing_store.c:
(_ewk_tiled_backing_store_zoom_set_internal):
Modified Paths
Diff
Modified: trunk/Source/WebKit/efl/ChangeLog (96290 => 96291)
--- trunk/Source/WebKit/efl/ChangeLog 2011-09-29 02:49:45 UTC (rev 96290)
+++ trunk/Source/WebKit/efl/ChangeLog 2011-09-29 02:52:11 UTC (rev 96291)
@@ -1,3 +1,16 @@
+2011-09-28 KwangHyuk Kim <[email protected]>
+
+ [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.
+
+ Reviewed by Ryosuke Niwa.
+
+ * ewk/ewk_tiled_backing_store.c:
+ (_ewk_tiled_backing_store_zoom_set_internal):
+
2011-09-28 Gyuyoung Kim <[email protected]>
[EFL] Remove *void* parameter in internal functions
Modified: trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c (96290 => 96291)
--- trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c 2011-09-29 02:49:45 UTC (rev 96290)
+++ trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c 2011-09-29 02:52:11 UTC (rev 96291)
@@ -1500,8 +1500,6 @@
Evas_Coord new_x = cx + (priv->view.offset.cur.x - cx) * scale;
Evas_Coord new_y = cy + (priv->view.offset.cur.y - cy) * scale;
- Evas_Coord bx = cx + (priv->view.offset.base.x - cx) * scale;
- Evas_Coord by = cy + (priv->view.offset.base.y - cy) * scale;
Evas_Coord model_width = priv->model.width * scale;
Evas_Coord model_height = priv->model.height * scale;
@@ -1516,10 +1514,10 @@
else if (-new_y + priv->view.h >= model_height)
new_y = -model_height + priv->view.h;
- bx = new_x % tw;
- priv->model.base.col = - new_x / tw;
- by = new_y % th;
- priv->model.base.row = - new_y / th;
+ Evas_Coord bx = new_x % tw;
+ Evas_Coord by = new_y % th;
+ priv->model.base.col = -new_x / tw;
+ priv->model.base.row = -new_y / th;
priv->changed.size = EINA_TRUE;
priv->changed.model = EINA_TRUE;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes