Bug 776488 - content/base/src/nsFrameLoader.cpp(1987) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'. r=jlebar

This commit is contained in:
Makoto Kato 2012-07-24 11:56:50 +09:00
parent d10d3df654
commit b64403c744

View File

@ -1984,7 +1984,7 @@ nsFrameLoader::TryRemoteBrowser()
nsCOMPtr<nsIAppsService> appsService = do_GetService(APPS_SERVICE_CONTRACTID);
if (!appsService) {
NS_ERROR("Apps Service is not available!");
return NS_ERROR_FAILURE;
return false;
}
appsService->GetAppLocalIdByManifestURL(manifest, &appId);