Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato

Differential Revision: https://phabricator.services.mozilla.com/D152575
This commit is contained in:
Fabrice Desré
2022-08-03 16:39:41 +00:00
parent 330df58cc8
commit e29be44cb7
202 changed files with 1520 additions and 1445 deletions

View File

@@ -1671,7 +1671,7 @@ nsresult nsHtml5StreamParser::OnDataAvailable(nsIRequest* aRequest,
nsresult nsHtml5StreamParser::CopySegmentsToParser(
nsIInputStream* aInStream, void* aClosure, const char* aFromSegment,
uint32_t aToOffset, uint32_t aCount,
uint32_t* aWriteCount) NO_THREAD_SAFETY_ANALYSIS {
uint32_t* aWriteCount) MOZ_NO_THREAD_SAFETY_ANALYSIS {
nsHtml5StreamParser* parser = static_cast<nsHtml5StreamParser*>(aClosure);
parser->DoDataAvailable(AsBytes(Span(aFromSegment, aCount)));