NS_IMETHODIMP nsChromeRegistryContent::IsLocaleRTL(const nsACString& aPackage, bool* aResult) { if (aPackage != nsDependentCString("global")) { NS_ERROR("Packages other than global unavailable"); return NS_ERROR_NOT_AVAILABLE; } *aResult = GetDirectionForLocale(mLocale); return NS_OK; }
NS_IMETHODIMP nsChromeRegistryContent::IsLocaleRTL(const nsACString& aPackage, bool* aResult) { *aResult = GetDirectionForLocale(mLocale); return NS_OK; }