Index: chrome/browser/sync/profile_sync_service_autofill_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc |
index 8290e04249cbaef4e5b7d96bb55da74f20399bcf..6ffaf1b02888d12816d12250685a554a4b08cae2 100644 |
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc |
@@ -95,7 +95,7 @@ class HistoryService; |
class AutofillTableMock : public AutofillTable { |
public: |
- AutofillTableMock() : AutofillTable(NULL, NULL) {} |
+ AutofillTableMock() : AutofillTable() {} |
MOCK_METHOD2(RemoveFormElement, |
bool(const string16& name, const string16& value)); // NOLINT |
MOCK_METHOD1(GetAllAutofillEntries, |
@@ -122,15 +122,9 @@ MATCHER_P(MatchProfiles, profile, "") { |
class WebDatabaseFake : public WebDatabase { |
public: |
- explicit WebDatabaseFake(AutofillTable* autofill_table) |
- : autofill_table_(autofill_table) {} |
- |
- virtual AutofillTable* GetAutofillTable() OVERRIDE { |
- return autofill_table_; |
+ explicit WebDatabaseFake(AutofillTable* autofill_table) { |
+ AddTable(autofill_table); |
} |
- |
- private: |
- AutofillTable* autofill_table_; |
}; |
class ProfileSyncServiceAutofillTest; |