parser/html/nsHtml5SVGLoadDispatcher.h
author Ehsan Akhgari <ehsan@mozilla.com>
Mon, 01 Sep 2014 18:04:52 -0400
changeset 224527 a8cddc6bdffcc9163d2fa3abf9c0968ec49243cf
parent 157003 e51ff50dea786501242d66a5d545f5ff8522aefc
child 224530 912065e39dc3ab54f89582c3e1c964a98201a124
permissions -rw-r--r--
Bug 1061060 - Fix more bad implicit constructors in parser; r=hsivonen

/* 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:
    explicit nsHtml5SVGLoadDispatcher(nsIContent* aElement);
    NS_IMETHOD Run();
};

#endif // nsHtml5SVGLoadDispatcher_h