Index: ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm |
diff --git a/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm b/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm |
index 3e65ca43087cf7a6832d15837f470c22315d7a5f..428b82608422fb98e95a02498431f9c35862181c 100644 |
--- a/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm |
+++ b/ios/chrome/browser/ui/sync/sync_error_infobar_delegate.mm |
@@ -98,7 +98,7 @@ bool SyncErrorInfoBarDelegate::Accept() { |
return false; |
} |
-void SyncErrorInfoBarDelegate::OnStateChanged() { |
+void SyncErrorInfoBarDelegate::OnStateChanged(syncer::SyncService* sync) { |
// If the inforbar is in the process of being removed, nothing must be done. |
infobars::InfoBar* infobar = this->infobar(); |
if (!infobar) |