From 2c2310c7d88fa88a96162ef506cc54d83b8e1ef9 Mon Sep 17 00:00:00 2001 From: Marshall Culpepper Date: Fri, 5 Oct 2012 15:11:37 -0500 Subject: [PATCH] Bug 798132: Followup fix: Move the crash reporter query into the try/catch to fix builds where it is disabled. r=fabrice --- b2g/chrome/content/shell.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/b2g/chrome/content/shell.js b/b2g/chrome/content/shell.js index f81da42df3be..96747f8f5308 100644 --- a/b2g/chrome/content/shell.js +++ b/b2g/chrome/content/shell.js @@ -121,10 +121,9 @@ var shell = { }, start: function shell_start() { - - let cr = Cc["@mozilla.org/xre/app-info;1"] - .getService(Ci.nsICrashReporter); try { + let cr = Cc["@mozilla.org/xre/app-info;1"] + .getService(Ci.nsICrashReporter); // Dogfood id. We might want to remove it in the future. // see bug 789466 try {