Index: chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
index d2893044b82cf0d3a68f653ebbda918de2b4a252..a55168bfd3d1db56864698606c79144458581a34 100644 |
--- a/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
@@ -28,15 +28,15 @@ class TestAutofillExternalDelegate : public AutofillExternalDelegate { |
AutofillDriver* autofill_driver) |
: AutofillExternalDelegate(autofill_manager, autofill_driver), |
popup_hidden_(true) {} |
- virtual ~TestAutofillExternalDelegate() {} |
+ ~TestAutofillExternalDelegate() override {} |
- virtual void OnPopupShown() override { |
+ void OnPopupShown() override { |
popup_hidden_ = false; |
AutofillExternalDelegate::OnPopupShown(); |
} |
- virtual void OnPopupHidden() override { |
+ void OnPopupHidden() override { |
popup_hidden_ = true; |
if (message_loop_runner_.get()) |
@@ -71,7 +71,7 @@ class AutofillPopupControllerBrowserTest |
AutofillPopupControllerBrowserTest() {} |
virtual ~AutofillPopupControllerBrowserTest() {} |
- virtual void SetUpOnMainThread() override { |
+ void SetUpOnMainThread() override { |
content::WebContents* web_contents = |
browser()->tab_strip_model()->GetActiveWebContents(); |
ASSERT_TRUE(web_contents != NULL); |
@@ -88,9 +88,7 @@ class AutofillPopupControllerBrowserTest |
// Normally the WebContents will automatically delete the delegate, but here |
// the delegate is owned by this test, so we have to manually destroy. |
- virtual void WebContentsDestroyed() override { |
- autofill_external_delegate_.reset(); |
- } |
+ void WebContentsDestroyed() override { autofill_external_delegate_.reset(); } |
protected: |
scoped_ptr<TestAutofillExternalDelegate> autofill_external_delegate_; |