Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 826154 - Remove unused field nsScriptSecurityManager::mIsWritingP…

…refs. r=bz.

--HG--
extra : rebase_source : f723578
  • Loading branch information...
commit 5d80ace1657a7d15070489d318ce5871a7f60091 1 parent b404816
nnethercote authored January 02, 2013
4  caps/include/nsScriptSecurityManager.h
... ...
@@ -1,4 +1,5 @@
1  
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  1
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2
+/* vim: set ts=4 et sw=4 tw=80: */
2 3
 /* This Source Code Form is subject to the terms of the Mozilla Public
3 4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
4 5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -518,7 +519,6 @@ class nsScriptSecurityManager : public nsIScriptSecurityManager,
518 519
     nsCOMPtr<nsIPrincipal> mSystemPrincipal;
519 520
     bool mPrefInitialized;
520 521
     bool mIsJavaScriptEnabled;
521  
-    bool mIsWritingPrefs;
522 522
     bool mPolicyPrefsChanged;
523 523
 
524 524
     static bool sStrictFileOriginPolicy;
4  caps/src/nsScriptSecurityManager.cpp
... ...
@@ -1,4 +1,5 @@
1  
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  1
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2
+/* vim: set ts=4 et sw=4 tw=80: */
2 3
 /* This Source Code Form is subject to the terms of the Mozilla Public
3 4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
4 5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -2440,7 +2441,6 @@ nsScriptSecurityManager::nsScriptSecurityManager(void)
2440 2441
       mCapabilities(nullptr),
2441 2442
       mPrefInitialized(false),
2442 2443
       mIsJavaScriptEnabled(false),
2443  
-      mIsWritingPrefs(false),
2444 2444
       mPolicyPrefsChanged(true)
2445 2445
 {
2446 2446
     MOZ_STATIC_ASSERT(sizeof(intptr_t) == sizeof(void*),

0 notes on commit 5d80ace

Please sign in to comment.
Something went wrong with that request. Please try again.