summaryrefslogtreecommitdiffstats
path: root/base/mac/foundation_util.mm
diff options
context:
space:
mode:
Diffstat (limited to 'base/mac/foundation_util.mm')
-rw-r--r--base/mac/foundation_util.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/mac/foundation_util.mm b/base/mac/foundation_util.mm
index 524f17c..6ae5df3 100644
--- a/base/mac/foundation_util.mm
+++ b/base/mac/foundation_util.mm
@@ -165,7 +165,7 @@ FilePath GetAppBundlePath(const FilePath& exec_name) {
// The first component may be "/" or "//", etc. Only append '/' if it doesn't
// already end in '/'.
- if (bundle_name[bundle_name.length() - 1] != '/')
+ if (bundle_name.back() != '/')
bundle_name += '/';
// Go through the remaining components.