Bug 1151473 - Remove use of expression closures in chat/, followup a missed one in skype. rs=me
authoraleth <aleth@instantbird.org>
Wed, 30 Mar 2016 12:33:39 +0200
changeset 24764 49be41a82721ac6caca28b8994f16998dea13340
parent 24763 5023a71ab95e7c6f792ee48def965d9750116168
child 24765 23a2d877bca7d8cef8ef9e22d20a56c4c2833376
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1151473
Bug 1151473 - Remove use of expression closures in chat/, followup a missed one in skype. rs=me
chat/protocols/skype/skype.js
--- a/chat/protocols/skype/skype.js
+++ b/chat/protocols/skype/skype.js
@@ -104,17 +104,18 @@ function SkypeAccountBuddy(aAccount, aBu
   this._init(aAccount, aBuddy, aTag, aUserName);
 }
 SkypeAccountBuddy.prototype = {
   __proto__: GenericAccountBuddyPrototype,
   _info: null,
   mood: null,
 
   // Called when the user wants to chat with the buddy.
-  createConversation: function() this._account.createConversation(this.userName),
+  createConversation:
+    function() {return this._account.createConversation(this.userName); },
 
   // Returns a list of imITooltipInfo objects to be displayed when the user
   // hovers over the buddy.
   getTooltipInfo: function() {
     if (!this._info)
       return EmptyEnumerator;
 
     let tooltipInfo = [];