Bug 1447341 - make page-icon protocol handler support weak referencing, r?mak
MozReview-Commit-ID: EpPJl89Gi1v
--- a/toolkit/components/places/PageIconProtocolHandler.js
+++ b/toolkit/components/places/PageIconProtocolHandler.js
@@ -120,13 +120,14 @@ PageIconProtocolHandler.prototype = {
},
allowPort(port, scheme) {
return false;
},
classID: Components.ID("{60a1f7c6-4ff9-4a42-84d3-5a185faa6f32}"),
QueryInterface: XPCOMUtils.generateQI([
- Ci.nsIProtocolHandler
+ Ci.nsIProtocolHandler,
+ Ci.nsISupportsWeakReference,
])
};
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([PageIconProtocolHandler]);