From 8787c1ac1f80d1431823947e64ca9a6da20994b0 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Wed, 10 Jul 2013 16:40:02 -0400 Subject: [PATCH] WebIDL codegen: Remove unneeded C++ goop. --- .../dom/bindings/codegen/RegisterBindings.cpp | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/components/script/dom/bindings/codegen/RegisterBindings.cpp diff --git a/src/components/script/dom/bindings/codegen/RegisterBindings.cpp b/src/components/script/dom/bindings/codegen/RegisterBindings.cpp deleted file mode 100644 index e078a35bbdb..00000000000 --- a/src/components/script/dom/bindings/codegen/RegisterBindings.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "BlobBinding.h" -#include "ClientRectBinding.h" -#include "ClientRectListBinding.h" -#include "DOMParserBinding.h" -#include "EventBinding.h" -#include "EventTargetBinding.h" -#include "FormDataBinding.h" -#include "HTMLCollectionBinding.h" -#include "nsScriptNameSpaceManager.h" - -namespace mozilla { -namespace dom { -void -Register(nsScriptNameSpaceManager* aNameSpaceManager) -{ - -#define REGISTER_PROTO(_dom_class, _pref_check) \ - aNameSpaceManager->RegisterDefineDOMInterface(NS_LITERAL_STRING(#_dom_class), _dom_class##Binding::DefineDOMInterface, _pref_check); - -REGISTER_PROTO(Blob, nullptr); -REGISTER_PROTO(ClientRect, nullptr); -REGISTER_PROTO(ClientRectList, nullptr); -REGISTER_PROTO(DOMParser, nullptr); -REGISTER_PROTO(Event, nullptr); -REGISTER_PROTO(EventTarget, nullptr); -REGISTER_PROTO(FormData, nullptr); -REGISTER_PROTO(HTMLCollection, nullptr); - -#undef REGISTER_PROTO -} - -} // namespace dom -} // namespace mozilla -