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 e4ef8106e99285a4cd07e967f61b6f36237e546b..55011c3c4e8fb83bcab48093b3a2356888388f20 100644 |
--- a/content/shell/shell_content_browser_client.cc |
+++ b/content/shell/shell_content_browser_client.cc |
@@ -88,9 +88,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, |