parser/htmlparser/nsParserBase.h
author Markus Stange <mstange@themasta.com>
Fri, 24 Oct 2014 18:32:17 +0200
changeset 212271 853612ddc6861ea705848979a03ed23f35d66f35
parent 201671 f37d8b5936c470718e80f34d9ea9ca942b63de8b
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1083672 - Avoid copying more than needed when drawing a canvas onto itself. r=jrmuizel

/* 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 nsParserBase_h_
#define nsParserBase_h_

#include "nsIChannel.h"

class nsParserBase : public nsISupports
{
  public:
    NS_IMETHOD_(bool) IsParserEnabled() { return true; }
    NS_IMETHOD GetChannel(nsIChannel** aChannel) {
      *aChannel = nullptr;
      return NS_OK;
    }
};

#endif // nsParserBase_h_