Index: chrome_frame/test/delete_chrome_history_test.cc |
diff --git a/chrome_frame/test/delete_chrome_history_test.cc b/chrome_frame/test/delete_chrome_history_test.cc |
index 0c44799789491d983b0955e0387f8502ef91975b..69e3a5a59338a6d95dd1d70569b04ecf50441e95 100644 |
--- a/chrome_frame/test/delete_chrome_history_test.cc |
+++ b/chrome_frame/test/delete_chrome_history_test.cc |
@@ -102,13 +102,15 @@ ACTION_P2(ExpectFormValuesForElementNameMatch, element_name, matcher) { |
base::FilePath profile_path( |
root_path.Append(L"Default").Append(chrome::kWebDataFilename)); |
+ AutofillTable autofill_table; |
WebDatabase web_database; |
+ web_database.AddTable(&autofill_table); |
sql::InitStatus init_status = web_database.Init(profile_path, std::string()); |
EXPECT_EQ(sql::INIT_OK, init_status); |
if (init_status == sql::INIT_OK) { |
std::vector<string16> values; |
- web_database.GetAutofillTable()->GetFormValuesForElementName( |
+ autofill_table.GetFormValuesForElementName( |
element_name, L"", &values, 9999); |
EXPECT_THAT(values, matcher); |
} |