Changeset 93399 in webkit
- Timestamp:
- Aug 19, 2011 6:23:38 AM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r93379 r93399 1 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com> 2 3 [EFL] Modify type of both col and row parameters for backing store's internal api. 4 https://bugs.webkit.org/show_bug.cgi?id=65302 5 6 As both col and row parameter's type for both _ewk_tiled_backing_store_item_fill 7 and ewk_tiled_backing_store_item_add are different from each other, I modify type of them. 8 9 Reviewed by Adam Roben. 10 11 * ewk/ewk_tiled_backing_store.c: 12 (_ewk_tiled_backing_store_item_fill): 13 (_ewk_tiled_backing_store_item_add): 14 1 15 2011-08-18 Ryuan Choi <ryuan.choi@samsung.com> 2 16 -
trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.c
r92758 r93399 425 425 } 426 426 427 static inline Eina_Bool _ewk_tiled_backing_store_item_fill(Ewk_Tiled_Backing_Store_Data *priv, Ewk_Tiled_Backing_Store_Item *it, long col, introw)428 { 429 long m_col = priv->model.base.col + col;430 long m_row = priv->model.base.row + row;427 static inline Eina_Bool _ewk_tiled_backing_store_item_fill(Ewk_Tiled_Backing_Store_Data *priv, Ewk_Tiled_Backing_Store_Item *it, unsigned long col, unsigned long row) 428 { 429 unsigned long m_col = priv->model.base.col + col; 430 unsigned long m_row = priv->model.base.row + row; 431 431 double last_used = ecore_loop_time_get(); 432 432 433 if (m_col < 0 || m_row < 0 434 || (unsigned long)(m_col) >= priv->model.cur.cols 435 || (unsigned long)(m_row) >= priv->model.cur.rows) { 436 433 if (m_col >= priv->model.cur.cols || m_row >= priv->model.cur.rows) { 437 434 if (it->tile) 438 435 _ewk_tiled_backing_store_tile_dissociate(priv, it, last_used); … … 443 440 if (it->tile) { 444 441 Ewk_Tile *old = it->tile; 445 if (old->row != (unsigned long)(m_row) 446 || old->col != (unsigned long)(m_col) 447 || old->zoom != zoom) { 448 _ewk_tiled_backing_store_tile_dissociate(priv, it, 449 last_used); 450 451 } else if (old->row == (unsigned long)(m_row) 452 && old->col == (unsigned long)(m_col) 453 && old->zoom == zoom) 442 if (old->row != m_row || old->col != m_col || old->zoom != zoom) 443 _ewk_tiled_backing_store_tile_dissociate(priv, it, last_used); 444 else if (old->row == m_row && old->col == m_col && old->zoom == zoom) 454 445 goto end; 455 446 } 456 447 457 t = ewk_tile_matrix_tile_exact_get 458 (priv->model.matrix, m_col, m_row, zoom); 448 t = ewk_tile_matrix_tile_exact_get(priv->model.matrix, m_col, m_row, zoom); 449 459 450 if (!t) { 460 451 /* NOTE: it never returns NULL if it->tile was set! */ … … 487 478 } 488 479 489 static Ewk_Tiled_Backing_Store_Item *_ewk_tiled_backing_store_item_add(Ewk_Tiled_Backing_Store_Data *priv, long col, introw)480 static Ewk_Tiled_Backing_Store_Item *_ewk_tiled_backing_store_item_add(Ewk_Tiled_Backing_Store_Data *priv, unsigned long col, unsigned long row) 490 481 { 491 482 Ewk_Tiled_Backing_Store_Item *it;
Note: See TracChangeset
for help on using the changeset viewer.