| Index: remoting/host/plugin/host_script_object.h
|
| diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
|
| index 47e4fb4e1e04753f31bbe690facd2a681009085e..4ffeac3d7feb0d83d7aa7f88c3bf9aa1d6f9a2d2 100644
|
| --- a/remoting/host/plugin/host_script_object.h
|
| +++ b/remoting/host/plugin/host_script_object.h
|
| @@ -106,13 +106,11 @@ class HostNPScriptObject : public HostStatusObserver {
|
| // Callback for ChromotingHost::Shutdown().
|
| void OnShutdownFinished();
|
|
|
| - // Call a JavaScript function wrapped as an NPObject.
|
| - // If result is non-null, the result of the call will be stored in it.
|
| - // Caller is responsible for releasing result if they ask for it.
|
| - static bool CallJSFunction(NPObject* func,
|
| + // Helper function for executing InvokeDefault on an NPObject, and ignoring
|
| + // the return value.
|
| + bool InvokeAndIgnoreResult(NPObject* func,
|
| const NPVariant* args,
|
| - uint32_t argCount,
|
| - NPVariant* result);
|
| + uint32_t argCount);
|
|
|
| // Posts a task on the main NP thread.
|
| void PostTaskToNPThread(const tracked_objects::Location& from_here,
|
|
|