parser/html/nsAHtml5TreeOpSink.h
author Boris Zbarsky <bzbarsky@mit.edu>
Fri, 16 Mar 2018 11:26:06 -0400
changeset 462133 6af1f5ac596b4aa0a87f8a8151395c692eb81a58
parent 157003 e51ff50dea786501242d66a5d545f5ff8522aefc
child 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1446097. Switch to "set" as the canonical nsGkAtoms name of the string "set", so it matches the actual tag name "set" in SVG. r=hsivonen,njn Most of the noise is from the fact that clang-format on parser/html/*.{h,cpp} reformatted all sorts of stuff. Not running it caused lots of format changes from the generator... I guess we changed the format rules since the last time this got run? MozReview-Commit-ID: IA2G87zUIKN

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

/**
 * The purpose of this interface is to connect a tree op executor
 * (main-thread case), a tree op stage (non-speculative off-the-main-thread
 * case) or a speculation (speculative case).
 */
class nsAHtml5TreeOpSink
{
public:
  /**
   * Flush the operations from the tree operations from the argument
   * queue into this sink unconditionally.
   */
  virtual void MoveOpsFrom(nsTArray<nsHtml5TreeOperation>& aOpQueue) = 0;
};

#endif /* nsAHtml5TreeOpSink_h */