mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1447341 - make blob: protocol handler support nsISupportsWeakReference, r=baku
MozReview-Commit-ID: 1UqdssdVs3b --HG-- extra : rebase_source : 9551b408a579662b13a79c8e4b3c7f683b46f40a
This commit is contained in:
parent
4af496d7f2
commit
82f83be436
@ -832,7 +832,8 @@ nsHostObjectProtocolHandler::Traverse(const nsACString& aUri,
|
||||
// -----------------------------------------------------------------------
|
||||
// Protocol handler
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsHostObjectProtocolHandler, nsIProtocolHandler)
|
||||
NS_IMPL_ISUPPORTS(nsHostObjectProtocolHandler, nsIProtocolHandler,
|
||||
nsISupportsWeakReference)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHostObjectProtocolHandler::GetDefaultPort(int32_t *result)
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsTArray.h"
|
||||
#include "nsWeakReference.h"
|
||||
|
||||
#define BLOBURI_SCHEME "blob"
|
||||
#define FONTTABLEURI_SCHEME "moz-fonttable"
|
||||
@ -34,6 +35,7 @@ class MediaSource;
|
||||
|
||||
class nsHostObjectProtocolHandler : public nsIProtocolHandler
|
||||
, public nsIProtocolHandlerWithDynamicFlags
|
||||
, public nsSupportsWeakReference
|
||||
{
|
||||
public:
|
||||
nsHostObjectProtocolHandler();
|
||||
|
Loading…
Reference in New Issue
Block a user