summaryrefslogtreecommitdiffstats
path: root/chrome/tools/mac_helpers
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools/mac_helpers')
-rw-r--r--chrome/tools/mac_helpers/infoplist_strings_util.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/tools/mac_helpers/infoplist_strings_util.mm b/chrome/tools/mac_helpers/infoplist_strings_util.mm
index 508c5b7..e75c147 100644
--- a/chrome/tools/mac_helpers/infoplist_strings_util.mm
+++ b/chrome/tools/mac_helpers/infoplist_strings_util.mm
@@ -12,6 +12,7 @@
#include <unistd.h>
#include "base/file_path.h"
+#include "base/file_util.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_piece.h"
@@ -60,6 +61,7 @@ ui::DataPack* LoadResourceDataPack(const char* dir_path,
dir_path, branding_strings_name, locale_name];
if (resource_path) {
FilePath resources_pak_path([resource_path fileSystemRepresentation]);
+ file_util::AbsolutePath(&resources_pak_path);
resource_pack = new ui::DataPack(ui::SCALE_FACTOR_100P);
bool success = resource_pack->LoadFromPath(resources_pak_path);
if (!success) {