| Index: webkit/glue/plugins/plugin_lib.cc
 | 
| ===================================================================
 | 
| --- webkit/glue/plugins/plugin_lib.cc	(revision 25593)
 | 
| +++ webkit/glue/plugins/plugin_lib.cc	(working copy)
 | 
| @@ -104,7 +104,7 @@
 | 
|    if (host == 0)
 | 
|      return NPERR_GENERIC_ERROR;
 | 
|  
 | 
| -#if defined(OS_LINUX)
 | 
| +#if defined(OS_LINUX) || defined(OS_FREEBSD)
 | 
|    NPError rv = entry_points_.np_initialize(host->host_functions(),
 | 
|                                             &plugin_funcs_);
 | 
|  #else
 | 
| @@ -170,7 +170,7 @@
 | 
|      if (entry_points_.np_initialize == 0)
 | 
|        rv = false;
 | 
|  
 | 
| -#if !defined(OS_LINUX)
 | 
| +#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
 | 
|      entry_points_.np_getentrypoints =
 | 
|          (NP_GetEntryPointsFunc)base::GetFunctionPointerFromNativeLibrary(
 | 
|              library, "NP_GetEntryPoints");
 | 
| @@ -190,7 +190,7 @@
 | 
|    if (rv) {
 | 
|      plugin_funcs_.size = sizeof(plugin_funcs_);
 | 
|      plugin_funcs_.version = (NP_VERSION_MAJOR << 8) | NP_VERSION_MINOR;
 | 
| -#if !defined(OS_LINUX)
 | 
| +#if !defined(OS_LINUX) && !defined(OS_FREEBSD)
 | 
|      if (entry_points_.np_getentrypoints(&plugin_funcs_) != NPERR_NO_ERROR)
 | 
|        rv = false;
 | 
|  #else
 | 
| 
 |