[M126 Migration] Remove OnParentViewResize in destruction. 03/316903/3
authorPranay Chauhan <pranay.c1@samsung.com>
Thu, 19 Dec 2024 07:17:32 +0000 (12:47 +0530)
committerPranay Chauhan <pranay.c1@samsung.com>
Thu, 19 Dec 2024 07:48:43 +0000 (07:48 +0000)
Remove OnParentViewResize in destrunction to avoid invalid
callback was called which will cause evas_gl error.

Reference: https://archive.tizen.org/gerrit/308705

Change-Id: I273d74c1b886ac67bbec7b2953d3cfa4935cce5b
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.cc

index a81eb5157f25b16d8c1d176053df38c01fd8f899..24bb4b51f6b2ecaf81c537f37862bdd99cb59038 100644 (file)
@@ -187,6 +187,8 @@ RWHVAuraOffscreenHelperEfl::~RWHVAuraOffscreenHelperEfl() {
                                  OnHostFocusOut);
   evas_event_callback_del_full(evas_, EVAS_CALLBACK_RENDER_FLUSH_PRE,
                                OnEvasRenderFlushPre, this);
+  evas_object_event_callback_del_full(efl_main_layout_, EVAS_CALLBACK_RESIZE,
+                                      OnParentViewResize, this);
   evas_object_del(content_image_);
 
   content_image_elm_host_ = nullptr;