Index: webkit/glue/plugins/plugin_instance.cc |
=================================================================== |
--- webkit/glue/plugins/plugin_instance.cc (revision 6978) |
+++ webkit/glue/plugins/plugin_instance.cc (working copy) |
@@ -282,7 +282,7 @@ |
// Creating a temporary FilePath instance on the stack as the explicit |
// FilePath constructor with StringType as an argument causes a compiler |
// error when invoked via vector push back. |
- FilePath file_name(UTF8ToWide(fname)); |
+ FilePath file_name = FilePath::FromWStringHack(UTF8ToWide(fname)); |
files_created_.push_back(file_name); |
} |