From b1f60716d9d34260cc891977e96b3f596877f06c Mon Sep 17 00:00:00 2001 From: hyun lee Date: Thu, 27 Jun 2013 14:46:07 +0900 Subject: [PATCH] Fix for issue about downloaded file details Change-Id: Ic55d42f606bf01d3a2553ba002a35841e44de020 Signed-off-by: hyun lee --- src/controls/FWebCtrl_WebImpl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100755 => 100644 src/controls/FWebCtrl_WebImpl.cpp diff --git a/src/controls/FWebCtrl_WebImpl.cpp b/src/controls/FWebCtrl_WebImpl.cpp old mode 100755 new mode 100644 index ccd279b..e56a085 --- a/src/controls/FWebCtrl_WebImpl.cpp +++ b/src/controls/FWebCtrl_WebImpl.cpp @@ -1160,7 +1160,6 @@ OnWebDataReceived(void* pUserData, Evas_Object* pView, void* pEventInfo) _DownloadManagerImpl* pManagerImpl = _DownloadManagerImpl::GetInstance(); SysTryReturnVoidResult(NID_WEB_CTRL, pManagerImpl, GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult())); - pManagerImpl->SetDownloadListener(pImpl); r = pManagerImpl->Start(request, reqId); SysTryReturnVoidResult(NID_WEB_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); } @@ -2379,6 +2378,11 @@ _WebImpl::Construct(void) r = InitWebEvent(); SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); + _DownloadManagerImpl* pManagerImpl = _DownloadManagerImpl::GetInstance(); + SysTryReturn(NID_WEB_CTRL, pManagerImpl, GetLastResult(), GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult())); + + pManagerImpl->SetDownloadListener(this); + __pWebCore = dynamic_cast< _Web* >(&(GetCore())); SysTryReturnResult(NID_WEB_CTRL, __pWebCore, E_SYSTEM, "A system error has been occurred. Failed to get web control"); -- 2.7.4