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
This commit is contained in:
Marshall Culpepper 2012-10-05 14:16:13 -05:00
parent e2e37d69a7
commit c5475e1be4

View File

@ -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 {