Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 826154 - Remove unused field nsScriptSecurityManager::mIsWritingP…

…refs. r=bz.

--HG--
extra : rebase_source : f7235787393fd6b4212aff0bb13e507bb0fd6d94
  • Loading branch information...
commit 5d80ace1657a7d15070489d318ce5871a7f60091 1 parent b404816
@nnethercote nnethercote authored
View
4 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/. */
@@ -518,7 +519,6 @@ class nsScriptSecurityManager : public nsIScriptSecurityManager,
nsCOMPtr<nsIPrincipal> mSystemPrincipal;
bool mPrefInitialized;
bool mIsJavaScriptEnabled;
- bool mIsWritingPrefs;
bool mPolicyPrefsChanged;
static bool sStrictFileOriginPolicy;
View
4 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/. */
@@ -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*),
Please sign in to comment.
Something went wrong with that request. Please try again.