From: Hosang Kim Date: Mon, 12 Dec 2016 02:42:01 +0000 (+0900) Subject: efl_canvas_proxy: fix the parameter of EINA_COW_WRITE X-Git-Tag: upstream/1.20.0~2926 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12c50e55229de4c086067b0564aa14e649f3b415;p=platform%2Fupstream%2Fefl.git efl_canvas_proxy: fix the parameter of EINA_COW_WRITE Summary: EINA_COW_WRITE_BEGIN and EINA_COW_WRITE_END's parameters must be same. But 'Read' paramter is different. So wrong variable's value is changed. @fix Reviewers: woohyun, Hermet, cedric, raster, jpeg Reviewed By: jpeg Differential Revision: https://phab.enlightenment.org/D4472 --- diff --git a/src/lib/evas/canvas/efl_canvas_proxy.c b/src/lib/evas/canvas/efl_canvas_proxy.c index aa5cfe5..2e5af8d 100644 --- a/src/lib/evas/canvas/efl_canvas_proxy.c +++ b/src/lib/evas/canvas/efl_canvas_proxy.c @@ -207,7 +207,7 @@ _evas_image_proxy_unset(Evas_Object *proxy, Evas_Object_Protected_Data *cur_prox EINA_COW_IMAGE_STATE_WRITE_END(o, state_write); } - EINA_COW_WRITE_BEGIN(evas_object_proxy_cow, cur_source->proxy, Evas_Object_Proxy_Data, proxy_write) + EINA_COW_WRITE_BEGIN(evas_object_proxy_cow, cur_proxy->proxy, Evas_Object_Proxy_Data, proxy_write) proxy_write->is_proxy = EINA_FALSE; EINA_COW_WRITE_END(evas_object_proxy_cow, cur_proxy->proxy, proxy_write); }