summaryrefslogtreecommitdiffstats
path: root/base/string_util.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 22:02:34 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 22:02:34 +0000
commit144199d5848b185b9e7f3f73374bde01eefeedb7 (patch)
tree8dfad57ce2d13502802c81d25e9a751905ac665e /base/string_util.cc
parenta8f914871101974a4856248630c08454b7a7d294 (diff)
downloadchromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.zip
chromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.tar.gz
chromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.tar.bz2
revert r16006 due to msvc warning.
TBR=playmobil Review URL: http://codereview.chromium.org/113367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.cc')
-rw-r--r--base/string_util.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/string_util.cc b/base/string_util.cc
index ea4f91e..2e6f7b3 100644
--- a/base/string_util.cc
+++ b/base/string_util.cc
@@ -734,12 +734,6 @@ bool LowerCaseEqualsASCII(const wchar_t* a_begin,
return DoLowerCaseEqualsASCII(a_begin, a_end, b);
}
-bool EqualsASCII(const string16& a, const StringPiece& b) {
- if (a.length() != b.length())
- return false;
- return std::equal(a.begin(), a.end(), b.begin());
-}
-
bool StartsWithASCII(const std::string& str,
const std::string& search,
bool case_sensitive) {