Skip to content

Commit

Permalink
Bug 1256428 P13 Remove unnecessary ServiceWorkerUnregsterJob2 stop. r…
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderview committed Apr 6, 2016
1 parent 7df3bd8 commit e2536e1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dom/workers/ServiceWorkerUnregisterJob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ ServiceWorkerUnregisterJob2::AsyncExecute()

// "If no service worker client is using registration..."
if (!registration->IsControllingDocuments()) {
// "If registration's uninstalling flag is set.."
if (!registration->mPendingUninstall) {
Finish(NS_OK);
return;
}

// "Invoke [[Clear Registration]]..."
swm->RemoveRegistration(registration);
}
Expand Down

0 comments on commit e2536e1

Please sign in to comment.