Index: sync/notifier/push_client_channel.cc |
diff --git a/sync/notifier/push_client_channel.cc b/sync/notifier/push_client_channel.cc |
index c54b1ba456fb4e946859064bd4bfd90455ea2f00..d7efda44d6c6eddfe3f200191f54b992e23be439 100644 |
--- a/sync/notifier/push_client_channel.cc |
+++ b/sync/notifier/push_client_channel.cc |
@@ -48,12 +48,12 @@ void PushClientChannel::SendEncodedMessage(const std::string& encoded_message) { |
} |
void PushClientChannel::OnNotificationsEnabled() { |
- NotifyStateChange(INVALIDATIONS_ENABLED); |
+ SetNetworkState(INVALIDATIONS_ENABLED); |
} |
void PushClientChannel::OnNotificationsDisabled( |
notifier::NotificationsDisabledReason reason) { |
- NotifyStateChange(FromNotifierReason(reason)); |
+ SetNetworkState(FromNotifierReason(reason)); |
} |
void PushClientChannel::OnIncomingNotification( |