Bug 695648 - Remove unnecessary friend class mozilla::AutoRestore<bool> from nsContentUtils; r=smaug a=removal
authorAtul Aggarwal <atulagrwl@gmail.com>
Tue, 13 Dec 2011 14:17:59 +0000
changeset 84131 6db2e3d94c601a238219c9ad19f996e70001fed1
parent 84130 cd1caaec767cfb3b27468fcbf3143409dbf5572a
child 84132 4c56ca4046371fb88c3c04fd944c8ae44712fc45
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, removal
bugs695648
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 695648 - Remove unnecessary friend class mozilla::AutoRestore<bool> from nsContentUtils; r=smaug a=removal
content/base/public/nsContentUtils.h
--- a/content/base/public/nsContentUtils.h
+++ b/content/base/public/nsContentUtils.h
@@ -187,17 +187,16 @@ struct nsShortcutCandidate {
   }
   PRUint32 mCharCode;
   bool     mIgnoreShift;
 };
 
 class nsContentUtils
 {
   friend class nsAutoScriptBlockerSuppressNodeRemoved;
-  friend class mozilla::AutoRestore<bool>;
   typedef mozilla::dom::Element Element;
   typedef mozilla::TimeDuration TimeDuration;
 
 public:
   static nsresult Init();
 
   /**
    * Get a JSContext from the document's scope object.