Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 826154 - Remove unused field nsScriptSecurityManager::mIsWritingP…
Browse files Browse the repository at this point in the history
…refs. r=bz.

--HG--
extra : rebase_source : f7235787393fd6b4212aff0bb13e507bb0fd6d94
  • Loading branch information
nnethercote committed Jan 3, 2013
1 parent b404816 commit 5d80ace
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions caps/include/nsScriptSecurityManager.h
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set ts=4 et sw=4 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Expand Down Expand Up @@ -518,7 +519,6 @@ class nsScriptSecurityManager : public nsIScriptSecurityManager,
nsCOMPtr<nsIPrincipal> mSystemPrincipal;
bool mPrefInitialized;
bool mIsJavaScriptEnabled;
bool mIsWritingPrefs;
bool mPolicyPrefsChanged;

static bool sStrictFileOriginPolicy;
Expand Down
4 changes: 2 additions & 2 deletions caps/src/nsScriptSecurityManager.cpp
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set ts=4 et sw=4 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Expand Down Expand Up @@ -2440,7 +2441,6 @@ nsScriptSecurityManager::nsScriptSecurityManager(void)
mCapabilities(nullptr),
mPrefInitialized(false),
mIsJavaScriptEnabled(false),
mIsWritingPrefs(false),
mPolicyPrefsChanged(true)
{
MOZ_STATIC_ASSERT(sizeof(intptr_t) == sizeof(void*),
Expand Down

0 comments on commit 5d80ace

Please sign in to comment.