Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug
authorDavid Zbarsky <dzbarsky@gmail.com>
Fri, 26 Jul 2013 13:20:22 -0700
changeset 140230 5f7438a285d0f8335366b99111728f1934def219
parent 140209 fb48c7d58b8be9ce281d9dc032aaa10d5125efd0
child 140231 d0a9de9496783591a5dfb0fd49b633068a4d12a8
push id1951
push userryanvm@gmail.com
push dateSun, 28 Jul 2013 01:55:51 +0000
treeherderfx-team@73b69c146ca6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone25.0a1
Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug
dom/bindings/Bindings.conf
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -88,20 +88,16 @@ DOMInterfaces = {
 'ArchiveReader': {
     'nativeType': 'mozilla::dom::file::ArchiveReader',
 },
 
 'ArchiveRequest': {
     'nativeType': 'mozilla::dom::file::ArchiveRequest',
 },
 
-'AudioBuffer': {
-    'nativeOwnership': 'refcounted',
-},
-
 'AudioChannelManager': {
     'nativeType': 'mozilla::dom::system::AudioChannelManager',
     'headerFile': 'AudioChannelManager.h'
 },
 
 'AudioContext': {
     'implicitJSContext': [ 'createBuffer' ],
     'resultNotAddRefed': [ 'destination', 'listener' ],
@@ -152,24 +148,16 @@ DOMInterfaces = {
     'headerFile': 'BatteryManager.h'
 },
 
 'CameraManager': {
     'nativeType': 'nsDOMCameraManager',
     'headerFile': 'DOMCameraManager.h'
 },
 
-'CanvasGradient' : {
-    'nativeOwnership': 'refcounted'
-},
-
-'CanvasPattern' : {
-    'nativeOwnership': 'refcounted'
-},
-
 'CanvasRenderingContext2D': {
     'implicitJSContext': [
         'createImageData', 'getImageData', 'mozDash'
     ],
     'resultNotAddRefed': [ 'canvas', 'measureText' ],
     'binaryNames': {
         'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
         'mozFillRule': 'fillRule'
@@ -648,17 +636,16 @@ DOMInterfaces = {
 
 'MessageEvent': {
     'nativeType': 'nsDOMMessageEvent',
 },
 
 'MimeType': {
     'headerFile' : 'nsMimeTypeArray.h',
     'nativeType': 'nsMimeType',
-    'nativeOwnership': 'refcounted',
     'resultNotAddRefed': [ 'enabledPlugin' ]
 },
 
 'MimeTypeArray': {
     'nativeType': 'nsMimeTypeArray',
     'resultNotAddRefed': [ 'item', 'namedItem' ]
 },
 
@@ -775,20 +762,16 @@ DOMInterfaces = {
     'headerFile': 'nsPerformance.h'
 },
 
 'PerformanceNavigation': {
     'nativeType': 'nsPerformanceNavigation',
     'headerFile': 'nsPerformance.h'
 },
 
-'PeriodicWave' : {
-    'nativeOwnership': 'refcounted'
-},
-
 'Plugin': {
     'headerFile' : 'nsPluginArray.h',
     'nativeType': 'nsPluginElement',
     'resultNotAddRefed': [ 'item', 'namedItem' ]
 },
 
 'PluginArray': {
     'nativeType': 'nsPluginArray',
@@ -845,36 +828,19 @@ DOMInterfaces = {
 'SourceBufferList': {
     'resultNotAddRefed': [ '__indexedGetter' ],
 },
 
 'StyleSheet': {
     'nativeType': 'nsCSSStyleSheet',
 },
 
-'SVGAngle' : {
-    'nativeOwnership': 'refcounted'
-},
-
-'SVGAnimatedAngle' : {
-    'nativeOwnership': 'refcounted'
-},
-
-'SVGAnimatedBoolean' : {
-    'nativeOwnership': 'refcounted'
-},
-
-'SVGAnimatedLength' : {
-    'nativeOwnership': 'refcounted'
-},
-
 'SVGAnimatedLengthList': {
     'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
     'headerFile': 'DOMSVGAnimatedLengthList.h',
-    'nativeOwnership': 'refcounted',
 },
 
 'SVGAnimatedNumberList': {
     'nativeType': 'mozilla::DOMSVGAnimatedNumberList',
     'headerFile': 'DOMSVGAnimatedNumberList.h'
 },
 
 'SVGAnimatedPreserveAspectRatio': {