Bug 614515 - Remove MOZ_SVG conditions. r=roc
This commit is contained in:
@@ -64,10 +64,7 @@
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsEscape.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
||||
#ifdef MOZ_SVG
|
||||
#include "nsHtml5SVGLoadDispatcher.h"
|
||||
#endif
|
||||
|
||||
namespace dom = mozilla::dom;
|
||||
|
||||
@@ -696,7 +693,6 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
|
||||
sele->FreezeUriAsyncDefer();
|
||||
return rv;
|
||||
}
|
||||
#ifdef MOZ_SVG
|
||||
case eTreeOpSvgLoad: {
|
||||
nsIContent* node = *(mOne.node);
|
||||
nsCOMPtr<nsIRunnable> event = new nsHtml5SVGLoadDispatcher(node);
|
||||
@@ -705,7 +701,6 @@ nsHtml5TreeOperation::Perform(nsHtml5TreeOpExecutor* aBuilder,
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
#endif
|
||||
default: {
|
||||
NS_NOTREACHED("Bogus tree op");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user