Index: content/shell/shell_content_browser_client.cc |
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc |
index 163027fae217a3965ba1c61cd9ddd3db0494bec1..193d8ab85ef356b7e20ea7499c8a9e02201f2034 100644 |
--- a/content/shell/shell_content_browser_client.cc |
+++ b/content/shell/shell_content_browser_client.cc |
@@ -78,9 +78,9 @@ ShellContentBrowserClient::ShellContentBrowserClient() |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
return; |
webkit_source_dir_ = GetWebKitRootDirFilePath(); |
- base::FilePath dictionary_file_path = GetChromiumRootDirFilePath().Append( |
- FILE_PATH_LITERAL("third_party/hyphen/hyph_en_US.dic")); |
- file_util::AbsolutePath(&dictionary_file_path); |
+ base::FilePath dictionary_file_path = base::MakeAbsoluteFilePath( |
+ GetChromiumRootDirFilePath().Append( |
+ FILE_PATH_LITERAL("third_party/hyphen/hyph_en_US.dic"))); |
hyphen_dictionary_file_ = base::CreatePlatformFile(dictionary_file_path, |
base::PLATFORM_FILE_READ | |
base::PLATFORM_FILE_OPEN, |