Index: chrome/tools/mac_helpers/infoplist_strings_util.mm |
=================================================================== |
--- chrome/tools/mac_helpers/infoplist_strings_util.mm (revision 175576) |
+++ chrome/tools/mac_helpers/infoplist_strings_util.mm (working copy) |
@@ -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 @@ |
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) { |