mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 615745 - Make CookieServiceChild add strong pref observers. r=dwitte a=blocking-fennec
This commit is contained in:
parent
1926e406ed
commit
e6d29d8ef8
@ -67,7 +67,10 @@ CookieServiceChild::GetSingleton()
|
||||
return gCookieService;
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS2(CookieServiceChild, nsICookieService, nsIObserver)
|
||||
NS_IMPL_ISUPPORTS3(CookieServiceChild,
|
||||
nsICookieService,
|
||||
nsIObserver,
|
||||
nsISupportsWeakReference)
|
||||
|
||||
CookieServiceChild::CookieServiceChild()
|
||||
: mCookieBehavior(BEHAVIOR_ACCEPT)
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "nsIObserver.h"
|
||||
#include "nsIPrefBranch.h"
|
||||
#include "mozIThirdPartyUtil.h"
|
||||
#include "nsWeakReference.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace net {
|
||||
@ -51,6 +52,7 @@ namespace net {
|
||||
class CookieServiceChild : public PCookieServiceChild
|
||||
, public nsICookieService
|
||||
, public nsIObserver
|
||||
, public nsSupportsWeakReference
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
Loading…
Reference in New Issue
Block a user