Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium

This commit is contained in:
Chris Peterson
2015-12-12 13:49:07 -05:00
parent eb54db7b4e
commit 5655d03320
13 changed files with 17 additions and 70 deletions

View File

@@ -79,13 +79,9 @@ HTMLAudioElement::Audio(const GlobalObject& aGlobal,
nsresult HTMLAudioElement::SetAcceptHeader(nsIHttpChannel* aChannel)
{
nsAutoCString value(
#ifdef MOZ_WEBM
"audio/webm,"
#endif
"audio/ogg,"
#ifdef MOZ_WAVE
"audio/wav,"
#endif
"audio/*;q=0.9,"
"application/ogg;q=0.7,"
"video/*;q=0.6,*/*;q=0.5");