Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698