Jira fix once error
authorHyunseok Yang <hs0219.yang@samsung.com>
Tue, 6 Aug 2013 06:51:30 +0000 (15:51 +0900)
committerHyunseok Yang <hs0219.yang@samsung.com>
Tue, 6 Aug 2013 06:51:30 +0000 (15:51 +0900)
Change-Id: I0339bceabee20a4da562de8373d2f1f1a0aab2ec
Signed-off-by: Hyunseok Yang <hs0219.yang@samsung.com>
src/controls/FWebCtrl_WebImpl.cpp

index c1c956b..d2e075c 100755 (executable)
@@ -2556,12 +2556,12 @@ _WebImpl::EvaluateJavascriptN(const String& scriptCode)
 
        ewk_view_script_execute(pView, pScript.get(), OnScriptExecuted, pPresenter.get());
 
-       std::unique_ptr<String> pResult(new (std::nothrow) String(L""));
-       SysTryReturn(NID_WEB_CTRL, pResult.get(), null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
+       String* pResult = new (std::nothrow) String(L"");
+       SysTryReturn(NID_WEB_CTRL, pResult, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
 
-       pPresenter->WaitAsyncProcess(*pResult.get());
+       pPresenter->WaitAsyncProcess(*pResult);
 
-       return pResult.release();
+       return pResult;
 }