Tizen 2.2.1
[framework/osp/web.git] / src / controls / FWebCtrl_WebPopup.cpp
index 34c0f5b..c9b6769 100755 (executable)
@@ -53,7 +53,7 @@ _WebPopup::_WebPopup(void)
 _WebPopup::~_WebPopup(void)
 {
        _WebManager* pWebManager = _WebManager::GetInstance();
-       pWebManager->RemoveActivePopup(reinterpret_cast< int >(this));
+       pWebManager->RemoveActivePopup(this);
 
        if (IsModalPopup())
        {
@@ -108,7 +108,7 @@ _WebPopup::ShowPopup(void)
        result r = E_SUCCESS;
 
        _WebManager* pWebManager = _WebManager::GetInstance();
-       pWebManager->SetActivePopup(reinterpret_cast< int >(this));
+       pWebManager->SetActivePopup(this);
 
        r = SetShowState(true);
        SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
@@ -145,7 +145,7 @@ result
 _WebPopup::ShowAndWait(int& modalResult)
 {
        _WebManager* pWebManager = _WebManager::GetInstance();
-       pWebManager->SetActivePopup(reinterpret_cast< int >(this));
+       pWebManager->SetActivePopup(this);
 
        __isModal = true;