Index: chrome/browser/extensions/user_script_master.cc |
diff --git a/chrome/browser/extensions/user_script_master.cc b/chrome/browser/extensions/user_script_master.cc |
index 03b54b9c2b0c6c75921359eca7d3eb5107a2785f..723b1f3481eb52dcfae992d2509536ce8133df62 100644 |
--- a/chrome/browser/extensions/user_script_master.cc |
+++ b/chrome/browser/extensions/user_script_master.cc |
@@ -155,7 +155,7 @@ void UserScriptMaster::ScriptReloader::LoadScriptsFromDirectory( |
UserScript& user_script = result->back(); |
// Push single js file in this UserScript. |
GURL url(std::string(chrome::kUserScriptScheme) + ":/" + |
- net::FilePathToFileURL(file.ToWStringHack()).ExtractFileName()); |
+ net::FilePathToFileURL(file).ExtractFileName()); |
user_script.js_scripts().push_back(UserScript::File(file, url)); |
UserScript::File& script_file = user_script.js_scripts().back(); |
LoadScriptContent(&script_file); |