mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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:
parent
74da3f7dfd
commit
cc6b262ac4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user