Index: webkit/glue/plugins/plugin_lib.h |
diff --git a/webkit/glue/plugins/plugin_lib.h b/webkit/glue/plugins/plugin_lib.h |
index 6af8f9cf7c0f41f9e3c71b971641feed9bf56b2c..7dded2f8bb9f7b68802cd348851b5e804fd39889 100644 |
--- a/webkit/glue/plugins/plugin_lib.h |
+++ b/webkit/glue/plugins/plugin_lib.h |
@@ -33,9 +33,9 @@ class PluginLib : public base::RefCounted<PluginLib> { |
// Returns false if the library couldn't be found, or if it's not a plugin. |
static bool ReadWebPluginInfo(const FilePath& filename, WebPluginInfo* info); |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Parse the result of an NP_GetMIMEDescription() call. |
- // This API is only used on Linux, and is exposed here for testing. |
+ // This API is only used on Unixes, and is exposed here for testing. |
static void ParseMIMEDescription(const std::string& description, |
std::vector<WebPluginMimeType>* mime_types); |
#endif |