Change-Id: Id552bb778e76c4f5beec12649a4d1f407bd21a12
Signed-off-by: Hyun Lee <hyunn.lee@samsung.com>
OnWebWindowClosedRequested(void* pUserData, Evas_Object* pView, void* pEventInfo)
{
_WebImpl* pChildImpl = reinterpret_cast< _WebImpl* >(pUserData);
+ SysAssertf(pChildImpl, "Failed to request");
+
_WebImpl* pParentImpl = reinterpret_cast< _WebImpl* >(evas_object_data_get(pView, PARENT_WEB_CTRL));
- SysAssertf(pChildImpl && pParentImpl, "Failed to request");
+ if (pParentImpl == null)
+ {
+ return;
+ }
if (pParentImpl->GetUiEventListener())
{