Bug 1333990: Follow-up: Add cycle collection and comments where unnecessary. r=bz

MozReview-Commit-ID: 70omvafFFFH
This commit is contained in:
Kris Maglione
2017-03-17 13:54:32 -07:00
parent 0568758ce4
commit 9c4ce2fcac
2 changed files with 13 additions and 2 deletions

View File

@@ -30,6 +30,9 @@ class AsyncScriptCompiler final : public nsIIncrementalStreamLoaderObserver
, public Runnable
{
public:
// Note: References to this class are never held by cycle-collected objects.
// If at any point a reference is returned to a caller, please update this
// class to implement cycle collection.
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIINCREMENTALSTREAMLOADEROBSERVER
NS_DECL_NSIRUNNABLE