Rename RunScriptInternal() to RunScriptSync() in wxGTK

This helper function runs a JavaScript script and blocks until it
finishes executing, so try to use a name at least hinting at this
instead of being totally generic and useless.
This commit is contained in:
Vadim Zeitlin
2017-10-21 23:12:21 +02:00
parent 8c6ce2cd59
commit b309487ef6
2 changed files with 6 additions and 5 deletions

View File

@@ -160,7 +160,7 @@ private:
#if wxUSE_WEBVIEW_WEBKIT2
bool CanExecuteEditingCommand(const gchar* command) const;
void SetupWebExtensionServer();
bool RunScriptInternal(const wxString& javascript, wxString* output = NULL);
bool RunScriptSync(const wxString& javascript, wxString* output = NULL);
#endif
WebKitWebView *m_web_view;