Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc

Issue 2520853002: [NTP] Cleanup: add brackets in components/ntp_snippets. [2/2] (Closed)
Patch Set: "else if". Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
diff --git a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
index aa0626cbfd40598e52122f1a94535d6993420fca..4ddd3920f269cfa6ca37f057b01cdfa29f2aee11 100644
--- a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
+++ b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
@@ -57,8 +57,9 @@ void TabDelegateSyncAdapter::OnForeignSessionUpdated() {
}
void TabDelegateSyncAdapter::InvokeCallback() {
- if (!change_callback_.is_null())
+ if (!change_callback_.is_null()) {
change_callback_.Run();
+ }
}
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698