Page MenuHomePhabricator

Bug 1627892 - Make StreamList derive from SafeRefCounted. r=#dom-workers-and-storage
ClosedPublic

Authored by sg on Apr 7 2020, 9:27 AM.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
sg edited the summary of this revision. (Show Details)

The analysis task source-test-coverity-coverity failed, but we could not detect any issue.
Please check this task manually.

If you see a problem in this automated review, please report it here.

This revision is now accepted and ready to land.Apr 22 2020, 5:06 AM
ttung added inline comments.
dom/cache/AutoUtils.cpp
488

I think changing the parameter type to a plain reference is doable and it's what we should do based on our guideline. The reason why it is asserted is probably because the code below starts to access the aStreamList.

dom/cache/Manager.cpp
1762–1763

The answer is we don't need to create it for CacheDeleteAction can you file a follow-up bug for that?

1808–1809

Same as above.

sg added inline comments.
dom/cache/AutoUtils.cpp
488

Ok, I changed that now in this patch. Looks much better now :)

dom/cache/Manager.cpp
1762–1763

I changed that in this patch now.

sg marked 2 inline comments as done.