From 27c8b94a2040108c3caa2982cd73eb15a3d564db Mon Sep 17 00:00:00 2001 From: Marshall Culpepper Date: Fri, 5 Oct 2012 14:16:13 -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 --HG-- extra : rebase_source : 518e13b4a29c76a87552a920cb5571256bfe3f3d --- 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 f81da42df3b..96747f8f530 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 {