Index: chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
diff --git a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
index daafc9a606ba27469fa13732079d68938b518121..e91628654041cd42f15282b27ddce671bd02fe24 100644 |
--- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
+++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
@@ -143,7 +143,7 @@ class SyncErrorNotifierTest : public AshTestBase { |
EXPECT_CALL(*service_, GetAuthError()).WillRepeatedly( |
ReturnRef(auth_error)); |
- error_controller_->OnStateChanged(); |
+ error_controller_->OnStateChanged(service_.get()); |
EXPECT_EQ(is_error, error_controller_->HasError()); |
// If there is an error we should see a notification. |