XMLHttpRequestEventTarget.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "XMLHttpRequestEventTarget.h"
  6. namespace mozilla {
  7. namespace dom {
  8. NS_IMPL_CYCLE_COLLECTION_CLASS(XMLHttpRequestEventTarget)
  9. NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(XMLHttpRequestEventTarget,
  10. DOMEventTargetHelper)
  11. NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
  12. NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(XMLHttpRequestEventTarget,
  13. DOMEventTargetHelper)
  14. NS_IMPL_CYCLE_COLLECTION_UNLINK_END
  15. NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(XMLHttpRequestEventTarget)
  16. NS_INTERFACE_MAP_ENTRY(nsIXMLHttpRequestEventTarget)
  17. NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper)
  18. NS_IMPL_ADDREF_INHERITED(XMLHttpRequestEventTarget, DOMEventTargetHelper)
  19. NS_IMPL_RELEASE_INHERITED(XMLHttpRequestEventTarget, DOMEventTargetHelper)
  20. void
  21. XMLHttpRequestEventTarget::DisconnectFromOwner()
  22. {
  23. DOMEventTargetHelper::DisconnectFromOwner();
  24. }
  25. } // dom namespace
  26. } // mozilla namespace