Bug 1426525 part 5. Remove the 'ref' getter/setter on XULElement. r=smaug
☠☠ backed out by 44d2697ba0a3 ☠ ☠
authorBoris Zbarsky <bzbarsky@mit.edu>
Fri, 05 Jan 2018 13:48:39 -0500
changeset 397984 96efa1b6f4d5266a3c5cabc24ac46ca701986b8a
parent 397983 37fdd4a04f4e2dee47589d9fbca4ed88c445d306
child 397985 6d0debde5c246371ca8771c6b3e78291fc53939d
push id98656
push userbzbarsky@mozilla.com
push dateFri, 05 Jan 2018 18:49:04 +0000
treeherdermozilla-inbound@96efa1b6f4d5 [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);
     }