diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-23 21:27:12 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-23 21:27:12 +0000 |
commit | 36ee0327a9acf37dd445918029015994d88fb6f0 (patch) | |
tree | 9435eaab619b17324177bfd6f9e4021809b3cad1 /base/version.cc | |
parent | 8d4c4bb33c199a0295d63a3ebfb7443c69d1f78c (diff) | |
download | chromium_src-36ee0327a9acf37dd445918029015994d88fb6f0.zip chromium_src-36ee0327a9acf37dd445918029015994d88fb6f0.tar.gz chromium_src-36ee0327a9acf37dd445918029015994d88fb6f0.tar.bz2 |
base/version: remove wstring version
And fix callers.
BUG=23581
TEST=trybots
Review URL: http://codereview.chromium.org/5848005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/version.cc')
-rw-r--r-- | base/version.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/version.cc b/base/version.cc index 6ad0cbe..384be0a 100644 --- a/base/version.cc +++ b/base/version.cc @@ -13,13 +13,6 @@ #include "base/utf_string_conversions.h" // static -Version* Version::GetVersionFromString(const std::wstring& version_str) { - if (!IsStringASCII(version_str)) - return NULL; - return GetVersionFromString(WideToUTF8(version_str)); -} - -// static Version* Version::GetVersionFromString(const std::string& version_str) { Version* vers = new Version(); if (vers->InitFromString(version_str)) { |