Skip to content

Commit

Permalink
Fixes browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Apr 23, 2019
1 parent 13879f2 commit d65fcfc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void ExtensionRewardsNotificationServiceObserver::OnNotificationAdded(
rewards_notification) {
extensions::EventRouter* event_router =
extensions::EventRouter::Get(profile_);
if (event_router) {
if (!event_router) {
return;
}

Expand Down Expand Up @@ -94,7 +94,7 @@ void ExtensionRewardsNotificationServiceObserver::OnGetNotification(
rewards_notification) {
extensions::EventRouter* event_router =
extensions::EventRouter::Get(profile_);
if (event_router) {
if (!event_router) {
return;
}

Expand All @@ -116,7 +116,7 @@ void ExtensionRewardsNotificationServiceObserver::OnGetAllNotifications(
rewards_notifications_list) {
extensions::EventRouter* event_router =
extensions::EventRouter::Get(profile_);
if (event_router) {
if (!event_router) {
return;
}

Expand Down

0 comments on commit d65fcfc

Please sign in to comment.