| Index: remoting/host/host_plugin.cc
|
| diff --git a/remoting/host/host_plugin.cc b/remoting/host/host_plugin.cc
|
| index 11069d4d48756488666e439c7aea7738075c7fe1..bb6d4ac003e8015ba65f2dafadd4fd05046c2288 100644
|
| --- a/remoting/host/host_plugin.cc
|
| +++ b/remoting/host/host_plugin.cc
|
| @@ -917,9 +917,9 @@ OSCALL NPError NP_GetEntryPoints(NPPluginFuncs* nppfuncs) {
|
| }
|
|
|
| OSCALL NPError NP_Initialize(NPNetscapeFuncs* npnetscape_funcs
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| , NPPluginFuncs* nppfuncs
|
| -#endif // OS_LINUX
|
| +#endif
|
| ) {
|
| LOG(INFO) << "NP_Initialize";
|
| if(npnetscape_funcs == NULL)
|
| @@ -929,9 +929,9 @@ OSCALL NPError NP_Initialize(NPNetscapeFuncs* npnetscape_funcs
|
| return NPERR_INCOMPATIBLE_VERSION_ERROR;
|
|
|
| g_npnetscape_funcs = npnetscape_funcs;
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| NP_GetEntryPoints(nppfuncs);
|
| -#endif // OS_LINUX
|
| +#endif
|
| return NPERR_NO_ERROR;
|
| }
|
|
|
|
|