| Index: webkit/glue/plugins/webplugin_delegate_impl.cc
|
| ===================================================================
|
| --- webkit/glue/plugins/webplugin_delegate_impl.cc (revision 7888)
|
| +++ webkit/glue/plugins/webplugin_delegate_impl.cc (working copy)
|
| @@ -145,7 +145,8 @@
|
| memset(&window_, 0, sizeof(window_));
|
|
|
| const WebPluginInfo& plugin_info = instance_->plugin_lib()->plugin_info();
|
| - std::string filename = StringToLowerASCII(plugin_info.filename);
|
| + std::string filename =
|
| + WideToASCII(StringToLowerASCII(plugin_info.path.BaseName().value()));
|
|
|
| if (instance_->mime_type() == "application/x-shockwave-flash" ||
|
| filename == "npswf32.dll") {
|
|
|