mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
make toolkit use hasDefaultApp to check for presence of default application.
defaultApplicationHandler will go away soon; this checkin is to avoid breakage r=pch
This commit is contained in:
parent
16681e9a1e
commit
cf8556d066
@ -416,7 +416,7 @@ nsUnknownContentTypeDialog.prototype = {
|
||||
// On other platforms, default is Ok if there is a default app.
|
||||
// Note that nsIMIMEInfo providers need to ensure that this holds true
|
||||
// on each platform.
|
||||
result = this.mLauncher.MIMEInfo.defaultApplicationHandler;
|
||||
result = this.mLauncher.MIMEInfo.hasDefaultHandler;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
@ -488,7 +488,7 @@ nsUnknownContentTypeDialog.prototype = {
|
||||
// On other platforms, default is Ok if there is a default app.
|
||||
// Note that nsIMIMEInfo providers need to ensure that this holds true
|
||||
// on each platform.
|
||||
return this.mLauncher.MIMEInfo.defaultApplicationHandler;
|
||||
return this.mLauncher.MIMEInfo.hasDefaultHandler;
|
||||
#endif
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user