mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 857833 - Remove some warnings in toolkit/xre/nsAppRunner.cpp. r=bsmedberg
This commit is contained in:
parent
7614ad70f0
commit
79171233a7
@ -617,7 +617,6 @@ NS_IMETHODIMP
|
||||
nsXULAppInfo::GetVendor(nsACString& aResult)
|
||||
{
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
NS_WARNING("Attempt to get unavailable information in content process.");
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
aResult.Assign(gAppData->vendor);
|
||||
@ -629,7 +628,6 @@ NS_IMETHODIMP
|
||||
nsXULAppInfo::GetName(nsACString& aResult)
|
||||
{
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
NS_WARNING("Attempt to get unavailable information in content process.");
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
aResult.Assign(gAppData->name);
|
||||
@ -641,7 +639,6 @@ NS_IMETHODIMP
|
||||
nsXULAppInfo::GetID(nsACString& aResult)
|
||||
{
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
NS_WARNING("Attempt to get unavailable information in content process.");
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
aResult.Assign(gAppData->ID);
|
||||
@ -695,7 +692,6 @@ NS_IMETHODIMP
|
||||
nsXULAppInfo::GetUAName(nsACString& aResult)
|
||||
{
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
NS_WARNING("Attempt to get unavailable information in content process.");
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
aResult.Assign(gAppData->UAName);
|
||||
|
Loading…
Reference in New Issue
Block a user