diff options
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/bridge/PluginsWin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/port/bridge/PluginsWin.cpp b/webkit/port/bridge/PluginsWin.cpp index f1f837d..ef7572a 100644 --- a/webkit/port/bridge/PluginsWin.cpp +++ b/webkit/port/bridge/PluginsWin.cpp @@ -42,6 +42,7 @@ #include "base/file_util.h" #include "base/string_util.h" +#include "base/sys_string_conversions.h" #include "webkit/glue/plugins/plugin_list.h" #include "glue/glue_util.h" #include "glue/webkit_glue.h" @@ -111,7 +112,7 @@ bool PluginInfoStore::supportsMIMEType(const WebCore::String &mime_type) for (size_t j = 0; j < g_plugins[i].mime_types.size(); ++j) { if (net::MatchesMimeType( g_plugins[i].mime_types[j].mime_type, - WideToNativeMB(converted_mime_type))) { + base::SysWideToNativeMB(converted_mime_type))) { // Don't allow wildcard matches here as this will result in // plugins being instantiated in cases where they should not. // For e.g. clicking on a link which causes a file to be |