From: Jean-Philippe Andre Date: Mon, 1 Feb 2016 11:23:48 +0000 (+0900) Subject: evas: Fix typo in previous clip issue fix X-Git-Tag: accepted/tizen/common/20160804.174451~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F82325%2F1;p=platform%2Fupstream%2Fefl.git evas: Fix typo in previous clip issue fix See 100a7006b855fe4da2c2a5c1c4ec58e06b3a0bc0. This typo actually caused some really rare crashes to happen (even rarer than the one I fixed originally). Crashes nonetheless. Change-Id: I76991d4bde362b935b3ab24199a996a886421d6d Signed-off-by: WooHyun Jung --- diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c index c7767db..11b370d 100644 --- a/src/lib/evas/canvas/evas_clip.c +++ b/src/lib/evas/canvas/evas_clip.c @@ -505,9 +505,9 @@ _evas_object_clip_prev_reset(Evas_Object_Protected_Data *obj, Eina_Bool cur_prev Evas_Object_Protected_Data *clip = obj->prev->clipper; if (!cur_prev) { - EINA_COW_STATE_WRITE_BEGIN(obj->prev->clipper, state_write, prev) + EINA_COW_STATE_WRITE_BEGIN(obj, state_write, prev) state_write->clipper = NULL; - EINA_COW_STATE_WRITE_END(obj->prev->clipper, state_write, prev); + EINA_COW_STATE_WRITE_END(obj, state_write, prev); } if (clip != obj->cur->clipper) eo_do(clip->object, eo_event_callback_del(EO_BASE_EVENT_DEL, _clipper_del_cb, obj->object));