[M120 Migration] Free content_image_elm_host_properly 94/306794/2
authorManjeet <manjeet.1@partner.samsung.com>
Tue, 27 Feb 2024 13:15:08 +0000 (18:45 +0530)
committerBot Blink <blinkbot@samsung.com>
Wed, 28 Feb 2024 09:24:52 +0000 (09:24 +0000)
Evas object content_image_elm_host_belongs to a Layout, it will be
deleted when the layout deleted.

Just like List, Box, and other container widgets, any object added to
the Layout will become it's child, meaning that it will be deleted if
the layout is deleted, move if the Layout is moved, and so on.

https://docs.enlightment.org/elementery.1.15.0/group__layout.html

Reference:
https://review.tizen.org/gerrit/292255/

Change-Id: Ia86a429cf6891e1c152108f9c7c0763beb99ca59
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.cc

index 0da202f..4e2f356 100644 (file)
@@ -183,7 +183,6 @@ RWHVAuraOffscreenHelperEfl::~RWHVAuraOffscreenHelperEfl() {
                                  OnFocusOut);
   evas_event_callback_del_full(evas_, EVAS_CALLBACK_RENDER_FLUSH_PRE,
                                OnEvasRenderFlushPre, this);
-  evas_object_del(content_image_elm_host_);
   evas_object_del(content_image_);
 
   content_image_elm_host_ = nullptr;