Index: chrome/browser/autofill/fax_number.cc |
diff --git a/chrome/browser/autofill/fax_number.cc b/chrome/browser/autofill/fax_number.cc |
index d1ea3d2251dad3db30317ba0b156e4c00f1e93f0..3d1a65139fc4bc69c9cf86647c84d76bbf4ec302 100644 |
--- a/chrome/browser/autofill/fax_number.cc |
+++ b/chrome/browser/autofill/fax_number.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -6,10 +6,13 @@ |
FaxNumber::FaxNumber() {} |
+FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {} |
+ |
FaxNumber::~FaxNumber() {} |
-FormGroup* FaxNumber::Clone() const { |
- return new FaxNumber(*this); |
+FaxNumber& FaxNumber::operator=(const FaxNumber& fax) { |
+ PhoneNumber::operator=(fax); |
+ return *this; |
} |
AutofillFieldType FaxNumber::GetNumberType() const { |