Bug 1300745 - remoed unused variable from CustomElementDefinition. r?baku draft
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 06 Sep 2016 14:38:10 +0300
changeset 410228 21afe4fee2b094ff48a858746346baac2668a26f
parent 410066 8c9c4e816e86f903c1d820f3f29715dc070a5a4a
child 530529 9f43071af14e9d0f12f89212f9e6c7de61b24d9d
push id28681
push userbmo:bpostelnicu@mozilla.com
push dateTue, 06 Sep 2016 12:02:00 +0000
reviewersbaku
bugs1300745
milestone51.0a1
Bug 1300745 - remoed unused variable from CustomElementDefinition. r?baku MozReview-Commit-ID: Ea9O9YwrIH6
dom/base/CustomElementsRegistry.h
--- a/dom/base/CustomElementsRegistry.h
+++ b/dom/base/CustomElementsRegistry.h
@@ -117,20 +117,16 @@ struct CustomElementDefinition
   JS::Heap<JSObject *> mConstructor;
 
   // The prototype to use for new custom elements of this type.
   JS::Heap<JSObject *> mPrototype;
 
   // The lifecycle callbacks to call for this custom element.
   nsAutoPtr<mozilla::dom::LifecycleCallbacks> mCallbacks;
 
-  // Whether we're currently calling the created callback for a custom element
-  // of this type.
-  bool mElementIsBeingCreated;
-
   // A construction stack.
   // TODO: Bug 1287348 - Implement construction stack for upgrading an element
 
   // The document custom element order.
   uint32_t mDocOrder;
 };
 
 class CustomElementsRegistry final : public nsISupports,