Index: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm |
index 995ac558e181c9eb6ef69a970c1ca2f7695ee9fe..c8c542909454db0cae3e0cd19c37a4643262b453 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa_browsertest.mm |
@@ -44,7 +44,7 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl { |
virtual ~TestAutofillDialogController() {} |
virtual void ViewClosed() OVERRIDE { |
- DCHECK(runner_); |
+ DCHECK(runner_.get()); |
runner_->Quit(); |
AutofillDialogControllerImpl::ViewClosed(); |
} |
@@ -92,7 +92,7 @@ class AutofillDialogCocoaBrowserTest : public InProcessBrowserTest { |
TestAutofillDialogController* controller() { return controller_; } |
void RunMessageLoop() { |
- DCHECK(runner_); |
+ DCHECK(runner_.get()); |
runner_->Run(); |
} |