Bug 987178 - Drop DOM_OBJECT classinfo from jsProtoHelper. r=florian
authoraleth <aleth@instantbird.org>
Sun, 06 Apr 2014 17:28:59 +0200
changeset 15982 6b8380355ecdb639f8d32481b9b9f7aad0d783ec
parent 15981 356897e7ca90978773ba150ad8e6ce6db43bcf69
child 15983 79da7bc65337f05aa40391fa376a593a5b8c8592
push id10012
push useraleth@instantbird.org
push dateSun, 06 Apr 2014 15:50:50 +0000
treeherdercomm-central@6b8380355ecd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs987178
Bug 987178 - Drop DOM_OBJECT classinfo from jsProtoHelper. r=florian
chat/modules/jsProtoHelper.jsm
--- a/chat/modules/jsProtoHelper.jsm
+++ b/chat/modules/jsProtoHelper.jsm
@@ -361,17 +361,16 @@ const GenericAccountBuddyPrototype = {
 // aUserName is required only if aBuddy is null, i.e., we are adding a buddy.
 function AccountBuddy(aAccount, aBuddy, aTag, aUserName) {
   this._init(aAccount, aBuddy, aTag, aUserName);
 }
 AccountBuddy.prototype = GenericAccountBuddyPrototype;
 
 const GenericMessagePrototype = {
   __proto__: ClassInfo("prplIMessage", "generic message object"),
-  flags: Ci.nsIClassInfo.DOM_OBJECT,
 
   _lastId: 0,
   _init: function (aWho, aMessage, aObject) {
     this.id = ++GenericMessagePrototype._lastId;
     this.time = Math.round(new Date() / 1000);
     this.who = aWho;
     this.message = aMessage;
     this.originalMessage = aMessage;
@@ -428,17 +427,16 @@ const GenericMessagePrototype = {
 function Message(aWho, aMessage, aObject) {
   this._init(aWho, aMessage, aObject);
 }
 Message.prototype = GenericMessagePrototype;
 
 
 const GenericConversationPrototype = {
   __proto__: ClassInfo("prplIConversation", "generic conversation object"),
-  flags: Ci.nsIClassInfo.DOM_OBJECT,
   get wrappedJSObject() this,
 
   get DEBUG() this._account.DEBUG,
   get LOG() this._account.LOG,
   get WARN() this._account.WARN,
   get ERROR() this._account.ERROR,
 
   _init: function(aAccount, aName) {