summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/mathml/RenderMathMLMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/mathml/RenderMathMLMath.h')
-rw-r--r--Source/WebCore/rendering/mathml/RenderMathMLMath.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/Source/WebCore/rendering/mathml/RenderMathMLMath.h b/Source/WebCore/rendering/mathml/RenderMathMLMath.h
index c51bb0b0b..11cc77693 100644
--- a/Source/WebCore/rendering/mathml/RenderMathMLMath.h
+++ b/Source/WebCore/rendering/mathml/RenderMathMLMath.h
@@ -23,25 +23,27 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderMathMLMath_h
-#define RenderMathMLMath_h
+#pragma once
#if ENABLE(MATHML)
#include "RenderMathMLRow.h"
namespace WebCore {
-
+
+class MathMLRowElement;
+
class RenderMathMLMath final : public RenderMathMLRow {
public:
- RenderMathMLMath(Element&, PassRef<RenderStyle>);
+ RenderMathMLMath(MathMLRowElement&, RenderStyle&&);
private:
- virtual bool isRenderMathMLMath() const override { return true; }
- virtual const char* renderName() const override { return "RenderMathMLMath"; }
+ bool isRenderMathMLMath() const final { return true; }
+ const char* renderName() const final { return "RenderMathMLMath"; }
};
-
+
}
+SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderMathMLMath, isRenderMathMLMath())
+
#endif // ENABLE(MATHML)
-#endif // RenderMathMLMath_h