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

Unified Diff: chrome/tools/mac_helpers/infoplist_strings_util.mm

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: chrome/tools/mac_helpers/infoplist_strings_util.mm
diff --git a/chrome/tools/mac_helpers/infoplist_strings_util.mm b/chrome/tools/mac_helpers/infoplist_strings_util.mm
index 44c4f53a90436e80383f1a3b6b19b205bb8e9dc0..ebe57d32f3281ad2e26f5b573478853ea91d163e 100644
--- a/chrome/tools/mac_helpers/infoplist_strings_util.mm
+++ b/chrome/tools/mac_helpers/infoplist_strings_util.mm
@@ -61,7 +61,7 @@ ui::DataPack* LoadResourceDataPack(const char* dir_path,
dir_path, branding_strings_name, locale_name];
if (resource_path) {
base::FilePath resources_pak_path([resource_path fileSystemRepresentation]);
- file_util::AbsolutePath(&resources_pak_path);
+ resources_pak_path = base::MakeAbsoluteFilePath(resources_pak_path);
resource_pack = new ui::DataPack(ui::SCALE_FACTOR_100P);
bool success = resource_pack->LoadFromPath(resources_pak_path);
if (!success) {

Powered by Google App Engine
This is Rietveld 408576698