[M108 Aura Migration][NaCl][PPFW] Fix memory leaks when reloading iframe 07/290007/2 submit/tizen/20230324.160014
authorpengxia <pengxia.shen@samsung.com>
Fri, 17 Mar 2023 05:32:58 +0000 (13:32 +0800)
committerBot Blink <blinkbot@samsung.com>
Fri, 24 Mar 2023 03:52:25 +0000 (03:52 +0000)
commit57e2a07c1c09af72c85c76f0ca354b38aae409e0
treeb6a16f4f60547bd2a6fbd894b469c0abe2b1b6a4
parentcb359988e5c2483730d60699884f4803811284a9
[M108 Aura Migration][NaCl][PPFW] Fix memory leaks when reloading iframe

Leaks of PepperHelper class instances.

Class PepperHelper is created in
ContentRendererClientEfl::RenderFrameCreated
it should be deleted together with render frame for which was created.
Removal of RenderFrame is signalized by call to OnDestruct method.
In case of PepperHelper this method is empty.

This patch adds proper implementation of this method to avoid leak.

from 94 Aura Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280196/

Change-Id: I7aeaec172acab137e1e5d193a087de0248edaf23
Signed-off-by: pengxia <pengxia.shen@samsung.com>
tizen_src/ewk/efl_integration/renderer/pepper/pepper_helper.cc
tizen_src/ewk/efl_integration/renderer/pepper/pepper_helper.h