Index: webkit/glue/plugins/plugin_host.cc |
diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc |
index b87160a6e59325a2664085105fbdd18e9fcc6e9f..bfefd0be676f1ab50e0bc8b9f84b63d6b8bfa853 100644 |
--- a/webkit/glue/plugins/plugin_host.cc |
+++ b/webkit/glue/plugins/plugin_host.cc |
@@ -450,7 +450,9 @@ static NPError PostURLNotify(NPP id, |
if (StartsWithASCII(file_path_ascii, kFileUrlPrefix, false)) { |
GURL file_url(file_path_ascii); |
DCHECK(file_url.SchemeIsFile()); |
- net::FileURLToFilePath(file_url, &file_path); |
+ FilePath path; |
+ net::FileURLToFilePath(file_url, &path); |
+ file_path = path.ToWStringHack(); |
} else { |
file_path = base::SysNativeMBToWide(file_path_ascii); |
} |