Get rid of unnecessary casts in RunScriptSync()
No real changes, just simplify the code.
This commit is contained in:
@@ -1123,8 +1123,8 @@ bool wxWebViewWebKit::RunScriptSync(const wxString& javascript, wxString* output
|
|||||||
g_main_context_iteration(main_context, TRUE);
|
g_main_context_iteration(main_context, TRUE);
|
||||||
|
|
||||||
wxGtkError error;
|
wxGtkError error;
|
||||||
wxWebKitJavascriptResult js_result(webkit_web_view_run_javascript_finish(WEBKIT_WEB_VIEW (m_web_view),
|
wxWebKitJavascriptResult js_result(webkit_web_view_run_javascript_finish(m_web_view,
|
||||||
(GAsyncResult *)result, error.Out()));
|
result, error.Out()));
|
||||||
|
|
||||||
if ( !js_result )
|
if ( !js_result )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user