Bug 706339 - Chrome migrator always offers migration even if Chrome is not present. r=gavin

This commit is contained in:
Felipe Gomes 2011-11-29 18:48:11 -08:00
Родитель 071c5fe353
Коммит 91f3fcbf24
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -479,7 +479,7 @@ ChromeProfileMigrator.prototype = {
* *
* @return true if supported * @return true if supported
*/ */
sourceExists: function Chrome_sourceExists() get sourceExists()
{ {
let result = this.getMigrateData(null, false); let result = this.getMigrateData(null, false);
return result != 0; return result != 0;
@ -495,7 +495,7 @@ ChromeProfileMigrator.prototype = {
* *
* @return home page URL * @return home page URL
*/ */
sourceHomePageURL: function Chrome_sourceHomePageURL() get sourceHomePageURL()
{ {
try { try {
if (this._homepageURL) if (this._homepageURL)