зеркало из https://github.com/mozilla/gecko-dev.git
Bug 737149 - Fix build of nsTreeSanitizer.cpp (error: 'video' is not a member of 'nsGkAtoms') with undefined MOZ_MEDIA. r=bzbarsky
This commit is contained in:
Родитель
44ded05a7c
Коммит
f2f24e59a6
|
@ -1098,10 +1098,14 @@ nsTreeSanitizer::MustPrune(PRInt32 aNamespace,
|
|||
nsGkAtoms::datalist == aLocal)) {
|
||||
return true;
|
||||
}
|
||||
if (mDropMedia && (nsGkAtoms::img == aLocal ||
|
||||
if (mDropMedia && (nsGkAtoms::img == aLocal
|
||||
#ifdef MOZ_MEDIA
|
||||
||
|
||||
nsGkAtoms::video == aLocal ||
|
||||
nsGkAtoms::audio == aLocal ||
|
||||
nsGkAtoms::source == aLocal)) {
|
||||
nsGkAtoms::source == aLocal
|
||||
#endif
|
||||
)) {
|
||||
return true;
|
||||
}
|
||||
if (nsGkAtoms::meta == aLocal &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче