Index: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc |
index a5ea99c5f2608de63881396cf6b906ee616d5403..92a893d2b6dfc9d50382c6a16141b801d80847d5 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc |
@@ -140,7 +140,7 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl { |
section, inputs, validation_type); |
} |
- // Saving to Chrome is tested in AutofillDialogController unit tests. |
+ // Saving to Chrome is tested in AutofillDialogControllerImpl unit tests. |
// TODO(estade): test that the view defaults to saving to Chrome. |
virtual bool ShouldOfferToSaveInChrome() const OVERRIDE { |
return false; |
@@ -301,7 +301,8 @@ class AutofillDialogControllerTest : public InProcessBrowserTest { |
ExpectDomMessage("clicked"); |
AutofillDialogControllerImpl* controller = |
- delegate->GetDialogControllerForTesting(); |
+ static_cast<AutofillDialogControllerImpl*>( |
+ delegate->GetDialogControllerForTesting()); |
DCHECK(controller); |
return controller; |
} |