| Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| index 898eb7eae78747b47c70e53cde278e46631317e2..754fd7840515e3b64bedb0f72fe8ef8bd77e9fac 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -139,6 +139,10 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
|
| return new TestAutofillDialogView();
|
| }
|
|
|
| + void Init(content::BrowserContext* browser_context) {
|
| + test_manager_.Init(browser_context);
|
| + }
|
| +
|
| TestAutofillDialogView* GetView() {
|
| return static_cast<TestAutofillDialogView*>(view());
|
| }
|
| @@ -211,6 +215,7 @@ class AutofillDialogControllerTest : public testing::Test {
|
| metric_logger_,
|
| DIALOG_TYPE_REQUEST_AUTOCOMPLETE,
|
| callback);
|
| + controller_->Init(profile());
|
| controller_->Show();
|
| }
|
|
|
|
|