Index: base/version.cc |
diff --git a/base/version.cc b/base/version.cc |
index 1f9bd204e0c6898ee1ce421a279f8323f81957d2..070c66570f6b1b93033aeb0485f3fd773cdcb6f4 100644 |
--- a/base/version.cc |
+++ b/base/version.cc |
@@ -52,22 +52,6 @@ bool Version::IsOlderThan(const std::string& version_str) const { |
return (CompareTo(proposed_ver) < 0); |
} |
-// TODO(cpu): remove this method. |
-Version* Version::GetVersionFromString(const std::string& version_str) { |
- Version* vers = new Version(version_str); |
- if (vers->IsValid()) { |
- return vers; |
- } |
- delete vers; |
- return NULL; |
-} |
- |
-// TODO(cpu): remove this method. |
-Version* Version::Clone() const { |
- DCHECK(IsValid()); |
- return new Version(*this); |
-} |
- |
bool Version::Equals(const Version& that) const { |
DCHECK(IsValid()); |
DCHECK(that.IsValid()); |