diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 21:10:53 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 21:10:53 +0000 |
commit | 9dc5340b502f87d2cbf9537b1f290d8a02c4d064 (patch) | |
tree | 53e6eb917da3134b8a800c595f867faae925d8da /o3d | |
parent | bad82cda1a22b12aa765933947942cb8de6a8fb4 (diff) | |
download | chromium_src-9dc5340b502f87d2cbf9537b1f290d8a02c4d064.zip chromium_src-9dc5340b502f87d2cbf9537b1f290d8a02c4d064.tar.gz chromium_src-9dc5340b502f87d2cbf9537b1f290d8a02c4d064.tar.bz2 |
This switches the FindFileHelper to use the non-deprecated
GetComponents instead of the old file_util routine (which no longer
exists).
Review URL: http://codereview.chromium.org/159283
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/utils/cross/file_path_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/utils/cross/file_path_utils.cc b/o3d/utils/cross/file_path_utils.cc index 910c3a6..bea30de 100644 --- a/o3d/utils/cross/file_path_utils.cc +++ b/o3d/utils/cross/file_path_utils.cc @@ -173,7 +173,7 @@ bool FindFileHelper(const FilePath& path_to_search, const FilePath& path_to_find, FilePath* found_path) { std::vector<FilePath::StringType> parts; - file_util::PathComponents(path_to_find, &parts); + path_to_find.GetComponents(&parts); for (size_t ii = 0; ii < parts.size(); ++ii) { // build a path from parts. |