Bug 614515 - Remove MOZ_SVG conditions. r=roc

This commit is contained in:
Ed Morley
2011-05-30 09:34:50 +02:00
parent 9c37d5bb5d
commit 6e443492c7
75 changed files with 28 additions and 413 deletions

View File

@@ -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");
}