From: Jihoon Chung Date: Fri, 26 Oct 2012 10:04:45 +0000 (+0900) Subject: Fixed JIRA #S1-9623 X-Git-Tag: 2.1b_release~22^2~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=075a592c16625b9fbe4faebba5c4061b9e213c00;p=platform%2Fframework%2Fweb%2Fwrt.git Fixed JIRA #S1-9623 [Issue#] JIRA #S1-9623 [Problem] After called "process,crashed" callback in the UI side, crash is occurred. [Cause] Wrong callback data is handled. [Solution] Make correct to use correct callback data [SCMRequest] N/A Change-Id: I3d08ea5415ca1195b6b1886e70be008bb06b6d09 --- diff --git a/src/view/webkit/view_logic.cpp b/src/view/webkit/view_logic.cpp index f826247..697d26b 100644 --- a/src/view/webkit/view_logic.cpp +++ b/src/view/webkit/view_logic.cpp @@ -1054,14 +1054,14 @@ void ViewLogic::loadProgressFinishedCallback( } void ViewLogic::processCrashedCallback( - void* /*data*/, + void* data, Evas_Object* /*obj*/, void* eventInfo) { LogInfo("processCrashedCallback"); - Assert(eventInfo); + Assert(data); ViewLogic const * const view = - static_cast(eventInfo); + static_cast(data); if (!view->m_cbs->webCrash.empty()) { view->m_cbs->webCrash(); }