parser/html/nsHtml5ReleasableAttributeName.h
author Seth Fowler <mark.seth.fowler@gmail.com>
Tue, 02 Aug 2016 16:45:22 -0700
changeset 349757 eef2029cae9d33943011306ac593906492368d2b
parent 263771 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
permissions -rw-r--r--
Bug 1291071 (Part 4) - Clean up Decoder::SpeedHistogram() and related code. r=edwin

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

#include "nsHtml5AttributeName.h"
#include "mozilla/Attributes.h"

class nsHtml5AtomTable;

class nsHtml5ReleasableAttributeName final : public nsHtml5AttributeName
{
  public:
    nsHtml5ReleasableAttributeName(int32_t* uri, nsIAtom** local, nsIAtom** prefix);
    virtual nsHtml5AttributeName* cloneAttributeName(nsHtml5AtomTable* aInterner);
    virtual void release();
};

#endif // nsHtml5ReleasableAttributeName_h