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

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: Created 7 years, 9 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 163027fae217a3965ba1c61cd9ddd3db0494bec1..6e47edebc6319f08881df243dcdef2fde1f6d1be 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -79,8 +79,7 @@ ShellContentBrowserClient::ShellContentBrowserClient()
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);
+ FILE_PATH_LITERAL("third_party/hyphen/hyph_en_US.dic")).AsAbsolute();
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