parser/html/nsHtml5SVGLoadDispatcher.h
author Mike Hommey <mh+mozilla@glandium.org>
Sun, 24 Aug 2014 09:11:05 +0900
changeset 224209 62b9f6d4328bb3609e731c694aabf9ad2ba9406d
parent 157923 e51ff50dea786501242d66a5d545f5ff8522aefc
child 225799 a8cddc6bdffcc9163d2fa3abf9c0968ec49243cf
permissions -rw-r--r--
Bug 1041941 - Use templates for Gecko XPCOM components. r=gps

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsHtml5SVGLoadDispatcher_h
#define nsHtml5SVGLoadDispatcher_h

#include "nsThreadUtils.h"
#include "nsIContent.h"

class nsHtml5SVGLoadDispatcher : public nsRunnable
{
  private:
    nsCOMPtr<nsIContent> mElement;
    nsCOMPtr<nsIDocument> mDocument;
  public:
    nsHtml5SVGLoadDispatcher(nsIContent* aElement);
    NS_IMETHOD Run();
};

#endif // nsHtml5SVGLoadDispatcher_h