Bug 530266 - Error: gCrashReporter is not defined in the error Console, when load or reload web page (r=gavin, a=beltzner)
authorDietrich Ayala <dietrich@mozilla.com>
Mon, 23 Nov 2009 16:33:14 -0800
changeset 33119 88014ded05dc9d4991e843fa7aa2e7eab6835b76
parent 33118 509c4a47fbefaac0f955bad91d65534d0acdb241
child 33120 df6f909d47978204c1dfb5503b0501107c423de8
push id790
push userdietrich@mozilla.com
push dateTue, 24 Nov 2009 00:35:09 +0000
reviewersgavin, beltzner
bugs530266
milestone1.9.2b4pre
Bug 530266 - Error: gCrashReporter is not defined in the error Console, when load or reload web page (r=gavin, a=beltzner)
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -129,17 +129,17 @@ var gEditUIVisible = true;
   delete this.PluralForm;
   return this.PluralForm = val;
 });
 
 #ifdef MOZ_CRASHREPORTER
 __defineGetter__("gCrashReporter", function() {
   delete this.gCrashReporter;
   return this.gCrashReporter = Cc["@mozilla.org/xre/app-info;1"].
-                               getService("nsICrashReporter");
+                               getService(Ci.nsICrashReporter);
 });
 #endif
 
 let gInitialPages = [
   "about:blank",
   "about:privatebrowsing",
   "about:sessionrestore"
 ];