diff options
Diffstat (limited to 'base/base_paths_mac.mm')
-rw-r--r-- | base/base_paths_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/base_paths_mac.mm b/base/base_paths_mac.mm index b983051..5dbbe30 100644 --- a/base/base_paths_mac.mm +++ b/base/base_paths_mac.mm @@ -13,7 +13,7 @@ namespace base { -bool PathProviderMac(int key, std::wstring* result) { +bool PathProviderMac(int key, FilePath* result) { std::wstring cur; switch (key) { case base::FILE_EXE: @@ -49,7 +49,7 @@ bool PathProviderMac(int key, std::wstring* result) { return false; } - result->swap(cur); + *result = FilePath::FromWStringHack(cur); return true; } |