Back out 5336c87067f7 (bug 690372) for test failures
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 30 Sep 2011 17:28:34 -0700
changeset 77930 d1b5c48c22c738454f82390a654ee85a0c36293f
parent 77929 a89bf0c36977498c9940458378e2cc4f0f5b6cf6
child 77931 af057311517ada223cef85bd016618b2dcdcaddc
push id2310
push usermbrubeck@mozilla.com
push dateSat, 01 Oct 2011 00:29:39 +0000
treeherdermozilla-inbound@d1b5c48c22c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs690372
milestone10.0a1
backs out5336c87067f70e6f98c09fe22798515e3a16c0f3
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
Back out 5336c87067f7 (bug 690372) for test failures
content/base/public/Element.h
--- a/content/base/public/Element.h
+++ b/content/base/public/Element.h
@@ -83,33 +83,26 @@ enum {
   ELEMENT_TYPE_SPECIFIC_BITS_OFFSET = NODE_TYPE_SPECIFIC_BITS_OFFSET + 4
 };
 
 namespace mozilla {
 namespace dom {
 
 class Link;
 
-// IID for the dom::Element interface
-#define NS_ELEMENT_IID      \
-{ 0xa1588efb, 0x5a84, 0x49cd, \
-  { 0x99, 0x1a, 0xac, 0x84, 0x9d, 0x92, 0x05, 0x0f } }
-
 class Element : public nsIContent
 {
 public:
 #ifdef MOZILLA_INTERNAL_API
   Element(already_AddRefed<nsINodeInfo> aNodeInfo) :
     nsIContent(aNodeInfo),
     mState(NS_EVENT_STATE_MOZ_READONLY)
   {}
 #endif // MOZILLA_INTERNAL_API
 
-  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ELEMENT_IID)
-
   NS_DECL_AND_IMPL_DOM_MEMORY_REPORTER_SIZEOF(Element, nsIContent)
 
   /**
    * Method to get the full state of this element.  See nsEventStates.h for
    * the possible bits that could be set here.
    */
   nsEventStates State() const {
     // mState is maintained by having whoever might have changed it
@@ -200,18 +193,16 @@ private:
                     "Should only be removing ESM-managed states here");
     RemoveStatesSilently(aStates);
     NotifyStateChange(aStates);
   }
 
   nsEventStates mState;
 };
 
-NS_DEFINE_STATIC_IID_ACCESSOR(Element, NS_ELEMENT_IID)
-
 } // namespace dom
 } // namespace mozilla
 
 inline mozilla::dom::Element* nsINode::AsElement() {
   NS_ASSERTION(IsElement(), "Not an element?");
   return static_cast<mozilla::dom::Element*>(this);
 }