Index: base/base_paths_mac.mm |
diff --git a/base/base_paths_mac.mm b/base/base_paths_mac.mm |
index 793beceb590a630eb2caf221ca1cab4d6bcd1aa5..bdf9bcb6f15f839d6c83a193383f244629355e26 100644 |
--- a/base/base_paths_mac.mm |
+++ b/base/base_paths_mac.mm |
@@ -52,7 +52,8 @@ bool PathProviderMac(int key, FilePath* result) { |
case base::DIR_APP_DATA: |
return mac_util::GetUserDirectory(NSApplicationSupportDirectory, result); |
case base::DIR_SOURCE_ROOT: { |
- if (GetNSExecutablePath(result)) { |
+ // Go through PathService go catch overrides. |
+ if (PathService::Get(base::FILE_EXE, result)) { |
// Start with the executable's directory. |
*result = result->DirName(); |
if (mac_util::AmIBundled()) { |