diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 01:03:34 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 01:03:34 +0000 |
commit | 62e78f50607bd7b5212435e332eca9e27c2a8a8a (patch) | |
tree | 8cf5e41ac6e13eaf25398dc602148317809ec9b2 /base/file_path.h | |
parent | e37d90b84954ca9d6a1fb059637b94755039e6b6 (diff) | |
download | chromium_src-62e78f50607bd7b5212435e332eca9e27c2a8a8a.zip chromium_src-62e78f50607bd7b5212435e332eca9e27c2a8a8a.tar.gz chromium_src-62e78f50607bd7b5212435e332eca9e27c2a8a8a.tar.bz2 |
make FilePath:IsParent use case-insensitive compare for drive letters on windows
R=erikkay
BUG=15659
Review URL: http://codereview.chromium.org/150109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_path.h')
-rw-r--r-- | base/file_path.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/base/file_path.h b/base/file_path.h index 5fe8cda..17653d1 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -122,13 +122,9 @@ class FilePath { return *this; } - bool operator==(const FilePath& that) const { - return path_ == that.path_; - } + bool operator==(const FilePath& that) const; - bool operator!=(const FilePath& that) const { - return path_ != that.path_; - } + bool operator!=(const FilePath& that) const; // Required for some STL containers and operations bool operator<(const FilePath& that) const { |