Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1606 - Update to Mozilla 17, patches part, r=fqueze.
authorPatrick Cloke <clokep@gmail.com>
Fri, 14 Dec 2012 06:42:44 -0500
changeset 14901 03bb18a1a7bb1cbcca46acc99e8b3fe4f3244fe4
parent 14900 fc12e25962d57bbe3ecf995fd054daca0238040f
child 14902 d907bc52c6d7994911a12e20ea67040e22031b22
push id867
push userbugzilla@standard8.plus.com
push dateMon, 01 Apr 2013 20:44:27 +0000
treeherdercomm-beta@797726b8d244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfqueze
bugs842183
Bug 842183 - Land in comm-central Instantbird's changes to chat/ - 5 - Bio 1606 - Update to Mozilla 17, patches part, r=fqueze.
chat/modules/imXPCOMUtils.jsm
--- a/chat/modules/imXPCOMUtils.jsm
+++ b/chat/modules/imXPCOMUtils.jsm
@@ -55,17 +55,17 @@ function scriptError(aModule, aLevel, aM
     return;
 
   let flag = Ci.nsIScriptError.warningFlag;
   if (aLevel >= Ci.imIDebugMessage.LEVEL_ERROR)
     flag = Ci.nsIScriptError.errorFlag;
 
   let scriptError =
     Cc["@mozilla.org/scripterror;1"].createInstance(Ci.nsIScriptError);
-  let caller = Components.stack.caller.caller;
+  let caller = Components.stack.caller;
   let sourceLine = aModule || caller.sourceLine;
   if (caller.name) {
     if (sourceLine)
       sourceLine += ": ";
     sourceLine += caller.name;
   }
   let fileName = caller.filename;
   let lineNumber = caller.lineNumber;