parser/html/nsHtml5SVGLoadDispatcher.h
author Gervase Markham <gerv@gerv.net>
Tue, 29 May 2012 16:52:43 +0100
changeset 99299 7c3cd4824f94609d4ad714bea9c687227c641e63
parent 47894 d03339731d6153358214defe218077ea831de1eb
child 157003 e51ff50dea786501242d66a5d545f5ff8522aefc
permissions -rw-r--r--
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.

/* 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_