diff options
author | Pale Moon <git-repo@palemoon.org> | 2014-08-25 07:59:25 +0200 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2014-08-25 07:59:25 +0200 |
commit | 2863d7d07e37ea972fc24d624d47b93e0f3bad0e (patch) | |
tree | 84239d978e04e12ca2019b606dc99a26fed3a2f0 /extensions | |
parent | 866d72c9032cc30753c7471ad68dc76efc6199cd (diff) | |
download | palemoon-gre-2863d7d07e37ea972fc24d624d47b93e0f3bad0e.tar.gz |
Revert "Resource leak fix."
This reverts commit 866d72c9032cc30753c7471ad68dc76efc6199cd.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/cookie/nsCookiePromptService.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/extensions/cookie/nsCookiePromptService.cpp b/extensions/cookie/nsCookiePromptService.cpp index 6283c7b67..b2e325dee 100644 --- a/extensions/cookie/nsCookiePromptService.cpp +++ b/extensions/cookie/nsCookiePromptService.cpp @@ -13,7 +13,6 @@ #include "nsString.h" #include "nsIDialogParamBlock.h" #include "nsIMutableArray.h" -#include "mozilla/dom/ScriptSettings.h" /**************************************************************** ************************ nsCookiePromptService ***************** @@ -72,8 +71,6 @@ nsCookiePromptService::CookieDialog(nsIDOMWindow *aParent, parent = do_QueryInterface(privateParent); } - mozilla::dom::AutoNoJSAPI nojsapi; - // The cookie dialog will be modal for the root chrome window rather than the // tab containing the permission-requesting page. This removes confusion // about which monitor is displaying the dialog (see bug 470356), but also |