Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2254)

Unified Diff: base/base_paths_mac.mm

Issue 12090003: Remove ".." from PathService take #2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_mac.mm
diff --git a/base/base_paths_mac.mm b/base/base_paths_mac.mm
index d217d906ad9e33a0771963512133081e51c1c3ce..630f742a9ffbd16ac5e3779b1a99065714227397 100644
--- a/base/base_paths_mac.mm
+++ b/base/base_paths_mac.mm
@@ -90,9 +90,6 @@ bool PathProviderMac(int key, FilePath* result) {
*result = result->DirName().DirName();
}
#endif
- if (result->ReferencesParent()) {
- return file_util::AbsolutePath(result);
- }
return true;
case base::DIR_USER_DESKTOP:
#if defined(OS_IOS)
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698