From: hyun lee Date: Thu, 27 Jun 2013 05:46:07 +0000 (+0900) Subject: Fix for issue about downloaded file details X-Git-Tag: submit/tizen_2.2/20130714.153306~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1f60716d9d34260cc891977e96b3f596877f06c;p=framework%2Fosp%2Fweb.git Fix for issue about downloaded file details Change-Id: Ic55d42f606bf01d3a2553ba002a35841e44de020 Signed-off-by: hyun lee --- 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");