| 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 f8072b802e48c4572b5c58fbf39a9bda0c7306a5..d1a2fc51f62a382dbc291fdd2010f80aae0f8469 100644
|
| --- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
| @@ -94,7 +94,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;
|
|
|