Bug 1208517 - Use the legacy opt-out in CanAccessNativeAnon for now to avoid crashes. r=me

This commit is contained in:
Bobby Holley 2015-09-26 00:30:02 -07:00
parent ac5c12ad4c
commit 27cd11b1fe

View File

@ -6098,7 +6098,7 @@ nsContentTypeParser::GetParameter(const char* aParameterName, nsAString& aResult
bool
nsContentUtils::CanAccessNativeAnon()
{
return IsCallerChrome() || IsCallerContentXBL();
return LegacyIsCallerChromeOrNativeCode() || IsCallerContentXBL();
}
/* static */ nsresult