mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00: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
2409f6ad32
commit
561619b7e0
@ -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…
x
Reference in New Issue
Block a user