Skip to content

Commit

Permalink
Merge pull request #2315 from brave/fix-browser-test
Browse files Browse the repository at this point in the history
Fixes browser tests
  • Loading branch information
NejcZdovc authored Apr 23, 2019
2 parents 13879f2 + d65fcfc commit 30e7b88
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 30e7b88

Please sign in to comment.