Chromium Code Reviews| 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..ed4869fea6e3c8d7c9853c98b8f721dce6470503 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& phone) : PhoneNumber(phone) {} |
|
Ilya Sherman
2011/03/09 00:50:50
nit: perhaps "fax" rather than "phone"? (and below
dhollowa
2011/03/09 01:55:47
Done.
|
| + |
| FaxNumber::~FaxNumber() {} |
| -FormGroup* FaxNumber::Clone() const { |
| - return new FaxNumber(*this); |
| +FaxNumber& FaxNumber::operator=(const FaxNumber& phone) { |
| + PhoneNumber::operator=(phone); |
| + return *this; |
| } |
| AutofillFieldType FaxNumber::GetNumberType() const { |