mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 802884 - Fix a build failure in Visual C++ 2012 because of what seems to be a compiler bug; r=me
This commit is contained in:
parent
6669152d43
commit
335b6cc84a
@ -763,7 +763,11 @@ nsHTMLEditor::NodeIsBlockStatic(const dom::Element* aElement)
|
||||
}
|
||||
|
||||
bool isBlock;
|
||||
DebugOnly<nsresult> rv = nsContentUtils::GetParserService()->
|
||||
#ifdef DEBUG
|
||||
// XXX we can't use DebugOnly here because VC++ is stupid (bug 802884)
|
||||
nsresult rv =
|
||||
#endif
|
||||
nsContentUtils::GetParserService()->
|
||||
IsBlock(nsContentUtils::GetParserService()->HTMLAtomTagToId(tagAtom),
|
||||
isBlock);
|
||||
MOZ_ASSERT(rv == NS_OK);
|
||||
|
Loading…
Reference in New Issue
Block a user