Index: components/ntp_snippets/remote/ntp_snippets_status_service.cc |
diff --git a/components/ntp_snippets/remote/ntp_snippets_status_service.cc b/components/ntp_snippets/remote/ntp_snippets_status_service.cc |
index 62514d270b101cc714a8169744ae08f4d88ccec1..017f9e57116539fa11b8af7e12b77a42edc1428e 100644 |
--- a/components/ntp_snippets/remote/ntp_snippets_status_service.cc |
+++ b/components/ntp_snippets/remote/ntp_snippets_status_service.cc |
@@ -76,8 +76,9 @@ void NTPSnippetsStatusService::OnSnippetsEnabledChanged() { |
void NTPSnippetsStatusService::OnStateChanged( |
SnippetsStatus new_snippets_status) { |
- if (new_snippets_status == snippets_status_) |
+ if (new_snippets_status == snippets_status_) { |
return; |
+ } |
snippets_status_change_callback_.Run(snippets_status_, new_snippets_status); |
snippets_status_ = new_snippets_status; |