Fix for issue about popup crash
authorhyun lee <hyunn.lee@samsung.com>
Thu, 1 Aug 2013 12:30:46 +0000 (21:30 +0900)
committerhyun lee <hyunn.lee@samsung.com>
Thu, 1 Aug 2013 12:47:40 +0000 (21:47 +0900)
Change-Id: Iebda928cb84e72e7869df75774ece70e5e5f4630
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
src/controls/FWebCtrl_UserConfirmPopup.cpp

index f42068d..5f6543b 100755 (executable)
@@ -101,10 +101,8 @@ _UserConfirmPopup::Construct(_UserConfirmMode userConfirmMode, void* pEventInfo,
        bool hasTitle = true;
        int popupMaxHeight = 2*pPopupData->labelDim.height + pPopupData->btnDim.height + 2*pPopupData->sideMargin;
 
-       if (pImpl == null)
-       {
-               __pImpl = pImpl;
-       }
+       __pImpl = pImpl;
+       SysAssertf(__pImpl != null, "Failed to get _WebImpl");
 
        if (__userConfirmMode == USER_CONFIRM_GEOLOCATION)
        {
@@ -268,7 +266,7 @@ _UserConfirmPopup::OnActionPerformed(const Control& source, int actionId)
                }
                case USER_SCRIPT_CONFIRM:
                {
-                       //__pImpl->SendUserEvent(ID_USER_SCRIPT_CONFIRM_CLOSE, null);
+                       __pImpl->SendUserEvent(ID_USER_SCRIPT_CONFIRM_CLOSE, null);
                        break;
                }
                default: