Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: chrome/browser/autofill/home_address.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/credit_card.h ('k') | chrome/browser/automation/automation_provider_observers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/home_address.h
diff --git a/chrome/browser/autofill/home_address.h b/chrome/browser/autofill/home_address.h
index ced29225f4351e9ba25b37a7f91fd9662c86993e..3984f6b55bcb1c2a6a757689608f68dc43907a50 100644
--- a/chrome/browser/autofill/home_address.h
+++ b/chrome/browser/autofill/home_address.h
@@ -15,7 +15,7 @@ class FormGroup;
class HomeAddress : public Address {
public:
HomeAddress() {}
- FormGroup* Clone() const { return new HomeAddress(*this); }
+ virtual FormGroup* Clone() const { return new HomeAddress(*this); }
protected:
virtual AutoFillFieldType GetLine1Type() const {
« no previous file with comments | « chrome/browser/autofill/credit_card.h ('k') | chrome/browser/automation/automation_provider_observers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698