Bug 1426525 part 5. Remove the 'ref' getter/setter on XULElement. r=smaug
authorBoris Zbarsky <bzbarsky@mit.edu>
Fri, 05 Jan 2018 13:48:39 -0500
changeset 397993 f5ed4ddcc51299bd4de3803d2c3bd227d7606f22
parent 397992 cb168f6a6bfd465f80dbacc30e5daa8aa3fc2561
child 397994 1c24c4cefe70db00165005d05317378f88449a5d
push id98661
push userbzbarsky@mozilla.com
push dateFri, 05 Jan 2018 19:53:06 +0000
treeherdermozilla-inbound@f5ed4ddcc512 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1426525, 1425356
milestone59.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 1426525 part 5. Remove the 'ref' getter/setter on XULElement. r=smaug The WebIDL for this was already removed in bug 1425356. MozReview-Commit-ID: HWxPe3a0Pmi
dom/base/nsGkAtomList.h
dom/xul/nsXULElement.h
--- a/dom/base/nsGkAtomList.h
+++ b/dom/base/nsGkAtomList.h
@@ -1154,17 +1154,16 @@ GK_ATOM(query, "query")
 GK_ATOM(queryset, "queryset")
 GK_ATOM(querytype, "querytype")
 GK_ATOM(radio, "radio")
 GK_ATOM(radiogroup, "radiogroup")
 GK_ATOM(range, "range")
 GK_ATOM(readonly, "readonly")
 GK_ATOM(rect, "rect")
 GK_ATOM(rectangle, "rectangle")
-GK_ATOM(ref, "ref")
 GK_ATOM(refresh, "refresh")
 GK_ATOM(rel, "rel")
 GK_ATOM(onreloadpage, "onreloadpage")
 GK_ATOM(rem, "rem")
 GK_ATOM(remote, "remote")
 GK_ATOM(removeelement, "removeelement")
 GK_ATOM(renderingobserverlist, "renderingobserverlist")
 GK_ATOM(repeat, "repeat")
--- a/dom/xul/nsXULElement.h
+++ b/dom/xul/nsXULElement.h
@@ -618,24 +618,16 @@ public:
     void GetTop(DOMString& aValue) const
     {
         GetXULAttr(nsGkAtoms::top, aValue);
     }
     void SetTop(const nsAString& aValue, mozilla::ErrorResult& rv)
     {
         SetXULAttr(nsGkAtoms::top, aValue, rv);
     }
-    void GetRef(DOMString& aValue) const
-    {
-        GetXULAttr(nsGkAtoms::ref, aValue);
-    }
-    void SetRef(const nsAString& aValue, mozilla::ErrorResult& rv)
-    {
-        SetXULAttr(nsGkAtoms::ref, aValue, rv);
-    }
     void GetTooltipText(DOMString& aValue) const
     {
         GetXULAttr(nsGkAtoms::tooltiptext, aValue);
     }
     void SetTooltipText(const nsAString& aValue, mozilla::ErrorResult& rv)
     {
         SetXULAttr(nsGkAtoms::tooltiptext, aValue, rv);
     }