Bug 1242436 - default value of ok = true in order to check the return of SendPush and SendPushSubscriptionChange. r=kitcambridge

--HG--
extra : rebase_source : 9824f8cea277bc6bf3cda2b0aba8e7336a88bd17
This commit is contained in:
Bogdan Postelnicu 2016-01-25 14:47:06 +02:00
parent 74da3f7dfd
commit cc6b262ac4

View File

@ -131,7 +131,7 @@ PushNotifier::NotifyPushWorkers(const nsACString& aScope,
// Otherwise, we're in the parent and e10s is enabled. Broadcast the event
// to all content processes.
bool ok = false;
bool ok = true;
nsTArray<ContentParent*> contentActors;
ContentParent::GetAll(contentActors);
for (uint32_t i = 0; i < contentActors.Length(); ++i) {
@ -169,7 +169,7 @@ PushNotifier::NotifySubscriptionChangeWorkers(const nsACString& aScope,
}
// Parent process, e10s enabled.
bool ok = false;
bool ok = true;
nsTArray<ContentParent*> contentActors;
ContentParent::GetAll(contentActors);
for (uint32_t i = 0; i < contentActors.Length(); ++i) {