Bug 848939 - De-field scale.xml. r=jaws
authorBobby Holley <bobbyholley@gmail.com>
Mon, 18 Mar 2013 20:32:01 -0700
changeset 125350 34e30f1b46d86a2615f5e66e99f63c9a67a1c160
parent 125349 b036536b0252c90f0f11cba86f691d703ab04d0a
child 125351 01207a5deca5dcd068639557e66709ed7b5c9ebd
push id24886
push userbobbyholley@gmail.com
push dateTue, 19 Mar 2013 03:34:10 +0000
treeherdermozilla-inbound@254cde8d3974 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs848939
milestone22.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 848939 - De-field scale.xml. r=jaws
toolkit/content/widgets/scale.xml
--- a/toolkit/content/widgets/scale.xml
+++ b/toolkit/content/widgets/scale.xml
@@ -56,28 +56,27 @@
                            onset="return this._setIntegerAttribute('minpos', val);"/>
       <property name="max" onget="return this._getIntegerAttribute('maxpos', 100);"
                            onset="return this._setIntegerAttribute('maxpos', val);"/>
       <property name="increment" onget="return this._getIntegerAttribute('increment', 1);"
                                  onset="return this._setIntegerAttribute('increment', val);"/>
       <property name="pageIncrement" onget="return this._getIntegerAttribute('pageincrement', 10);"
                                      onset="return this._setIntegerAttribute('pageincrement', val);"/>
 
-      <field name="_userChanged">false</field>
-      <field name="_sliderElement"/>
       <property name="_slider" readonly="true">
         <getter>
           if (!this._sliderElement)
             this._sliderElement = document.getAnonymousElementByAttribute(this, "anonid", "slider");
           return this._sliderElement;
         </getter>
       </property>
 
       <constructor>
         <![CDATA[
+          this._userChanged = false;
           var value = parseInt(this.getAttribute("value"), 10);
           if (!isNaN(value))
             this.value = value;
           else if (this.min > 0)
             this.value = this.min;
           else if (this.max < 0)
             this.value = this.max;
         ]]>