[Title] Removed code for checking whether the callback parameter is NULL in ewk_view_script_execute().
[Issue#] N/A
[Problem] If the callback parameter is NULL, ewk_view_script_execute() does not work.
[Cause] If the callback parameter is NULL, ewk_view_script_execute() return false.
[Solution] If the result data from the script is not required,
NULL might be used for the callback parameter.
So, removed code for checking NULL for the callback parameter.
Change-Id: Idae68a37b834f7cabf0c1d8cb7ef8f7919b52283
EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, false);
EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
EINA_SAFETY_ON_NULL_RETURN_VAL(script, false);
- EINA_SAFETY_ON_NULL_RETURN_VAL(callback, false);
Ewk_View_Callback_Context* context = new Ewk_View_Callback_Context;
context->scriptExecuteCallback = callback;