зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1259846 - QI Services.appinfo to nsICrashReporter because it might not have been QIed yet. r=Mossop
MozReview-Commit-ID: KqyzDnLVENW
This commit is contained in:
Родитель
e713c87b39
Коммит
021af209d2
|
@ -95,7 +95,7 @@ function getUserSample() {
|
|||
function setCohort(cohortName) {
|
||||
Preferences.set(PREF_COHORT_NAME, cohortName);
|
||||
try {
|
||||
Services.appinfo.annotateCrashReport("E10SCohort", cohortName);
|
||||
Services.appinfo.QueryInterface(Ci.nsICrashReporter).annotateCrashReport("E10SCohort", cohortName);
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче