[INFER] Fix build break.
authorBrian Hackett <bhackett1024@gmail.com>
Tue, 21 Dec 2010 08:54:54 -0800
changeset 74682 a6438d91ca4d309bf5356eed2dc799608379f924
parent 74681 513c680568de0a894f1275635733b9df19cf78a2
child 74683 2d2bc8417871d24c3981e2142f41eeb9bfc8e518
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
milestone2.0b8pre
[INFER] Fix build break.
js/src/jsxml.cpp
--- a/js/src/jsxml.cpp
+++ b/js/src/jsxml.cpp
@@ -7168,17 +7168,17 @@ js_InitXMLClass(JSContext *cx, JSObject 
                          xml_static_props, xml_static_methods);
     if (!proto)
         return NULL;
 
     /* Properties of XML objects are not modeled by type inference. */
     TypeObject *type = proto->getNewType(cx);
     if (!type)
         return NULL;
-    type->markUnknown(cx);
+    cx->markTypeObjectUnknownProperties(type);
 
     xml = js_NewXML(cx, JSXML_CLASS_TEXT);
     if (!xml)
         return NULL;
     proto->setPrivate(xml);
     xml->object = proto;
     METER(xml_stats.xmlobj);